Skip to content

Commit

Permalink
fix bug with tabbing into three dots menu #4022 (#4060)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLPM authored Sep 20, 2023
1 parent 238a7ca commit 5294026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/components/ft-icon-button/ft-icon-button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
v-for="(option, index) in dropdownOptions"
:id="sanitizeForHtmlId(title + '-' + index)"
:key="index"
role="option"
:role="option.type === 'divider' ? 'separator' : 'option'"
aria-selected="false"
tabindex="-1"
:tabindex="option.type === 'divider' ? '-1' : '0'"
:class="option.type === 'divider' ? 'listItemDivider' : 'listItem'"
@click="handleDropdownClick({url: option.value, index: index}, $event)"
@keydown.enter="handleDropdownClick({url: option.value, index: index}, $event)"
Expand Down

0 comments on commit 5294026

Please sign in to comment.