Skip to content

Commit a0ed56b

Browse files
authored
Merge pull request #8480 from IgniteUI/alt-l-under-mac-10.2.x
fix(grid): add alt+l symbol under mac
2 parents 314ffaf + c316a76 commit a0ed56b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

projects/igniteui-angular/src/lib/core/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ export const NAVIGATION_KEYS = new Set([
329329
export const ROW_EXPAND_KEYS = new Set('right down arrowright arrowdown'.split(' '));
330330
export const ROW_COLLAPSE_KEYS = new Set('left up arrowleft arrowup'.split(' '));
331331
export const SUPPORTED_KEYS = new Set([...Array.from(NAVIGATION_KEYS), 'enter', 'f2', 'escape', 'esc', 'pagedown', 'pageup', '+', 'add']);
332-
export const HEADER_KEYS = new Set([...Array.from(NAVIGATION_KEYS), 'escape', 'esc' , 'l']);
332+
export const HEADER_KEYS = new Set([...Array.from(NAVIGATION_KEYS), 'escape', 'esc' , 'l',
333+
/** This symbol corresponds to the Alt + L combination under MAC. */
334+
'¬']);
333335

334336
/**
335337
* @hidden

projects/igniteui-angular/src/lib/grids/grid-navigation.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ export class IgxGridNavigationService {
542542
if ([' ', 'spacebar', 'space'].indexOf(key) !== -1) {
543543
this.handleColumnSelection(column, event);
544544
}
545-
if (alt && key === 'l' && this.grid.allowAdvancedFiltering) {
545+
if (alt && (key === 'l' || key === '¬') && this.grid.allowAdvancedFiltering) {
546546
this.grid.openAdvancedFilteringDialog();
547547
}
548548
if (ctrl && shift && key === 'l' && this.grid.allowFiltering && !column.columnGroup && column.filterable) {

0 commit comments

Comments
 (0)