Skip to content

Commit

Permalink
Fixed #14545
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Jan 17, 2024
1 parent 9afb82c commit 72273b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
csv += '\n' + body;
}

let blob = new Blob([new Uint8Array([0xEF, 0xBB, 0xBF]), csv], {
let blob = new Blob([new Uint8Array([0xef, 0xbb, 0xbf]), csv], {
type: 'text/csv;charset=utf-8;'
});

Expand Down Expand Up @@ -5458,6 +5458,10 @@ export class ColumnFilter implements AfterContentInit {
event.preventDefault();
}
break;
case 'Enter':
this.toggleMenu();
event.preventDefault();
break;
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/app/showcase/doc/table/accessibilitydoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ import { Component } from '@angular/core';
<td><i>escape</i></td>
<td>Hides the popup.</td>
</tr>
<tr>
<td><i>enter</i></td>
<td>Opens the popup.</td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 72273b4

Please sign in to comment.