Skip to content

Commit

Permalink
[ACS-9015] Context menu cell is not accessible via keyboard when it's…
Browse files Browse the repository at this point in the history
… displayed on hover
  • Loading branch information
MichalKinas committed Nov 28, 2024
1 parent 35543a6 commit 0014fed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
(actions && actionsPosition === 'right') ||
(mainActionTemplate && showMainDatatableActions)"
role="gridcell"
tabindex="0"
class="adf-datatable-cell adf-datatable__actions-cell adf-datatable-center-actions-column-ie adf-datatable-actions-menu">

<ng-container *ngIf="(actions && actionsPosition === 'right')">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,14 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
}

.adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover {
display: none;
visibility: hidden;
}

.adf-datatable-actions-menu:focus-visible,
.adf-datatable-actions-menu:focus-within {
.adf-datatable-hide-actions-without-hover {
visibility: visible;
}
}

.adf-datatable-cell--image {
Expand Down

0 comments on commit 0014fed

Please sign in to comment.