Skip to content

Commit

Permalink
fix: make CellMenu work on Safari and Firefox
Browse files Browse the repository at this point in the history
closes #49
  • Loading branch information
simonwep committed Jul 6, 2024
1 parent 8b4b6f1 commit 2c559ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/base/cell-menu/CellMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div v-if="visible" ref="popper" :class="$style.popper" @focusout="focused--" @focusin="focused++">
<ul :class="$style.list">
<li v-for="action of actions" :key="action.id" :class="$style.item">
<button :class="$style.btn" type="button" @click="onAction(action.id)">
<button :class="$style.btn" tabindex="0" type="button" @click="onAction(action.id)">
{{ action.label }}
</button>
</li>
Expand Down Expand Up @@ -75,6 +75,7 @@ const onAction = (id: CellMenuActionId) => {
border-radius: var(--border-radius-m);
box-shadow: var(--cell-menu-shadow);
backdrop-filter: var(--cell-menu-backdrop);
-webkit-backdrop-filter: var(--cell-menu-backdrop);
overflow: hidden;
.item {
Expand Down

0 comments on commit 2c559ca

Please sign in to comment.