Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(platform): bug where enter key would not freeze/unfreeze columns #12774

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading