Skip to content

Commit

Permalink
fix(platform): bug where enter key would not freeze/unfreeze columns (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerodonnell89 authored Nov 26, 2024
1 parent 6f90b39 commit b3a49e0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<ng-container *ngIf="column?.freezable || column?.endFreezable">
<ng-template fdkTemplate="freezePopoverItem" let-popover="popover">
<ng-container *ngIf="!columnFrozen; else unfreezeTpl">
<a fd-list-link (click)="_freeze()" (keydown.enter)="_freeze()">
<div fd-list-link role="button" [focusable]="true" (click)="_freeze()" (keydown.enter)="_freeze()">
<span fd-list-title>
{{
(!column.endFreezable
Expand All @@ -70,15 +70,15 @@
) | fdTranslate
}}</span
>
</a>
</div>
</ng-container>
<ng-template #unfreezeTpl>
<a fd-list-link (click)="_unFreeze()" (keydown.enter)="_unFreeze()">
<div fd-list-link role="button" [focusable]="true" (click)="_unFreeze()" (keydown.enter)="_unFreeze()">
<span fd-list-title>{{
(columnIndex > 0 ? 'platformTable.headerMenuUnfreezePlural' : 'platformTable.headerMenuUnfreeze')
| fdTranslate
}}</span>
</a>
</div>
</ng-template>
</ng-template>
</ng-container>
Expand Down

0 comments on commit b3a49e0

Please sign in to comment.