Skip to content

Commit

Permalink
fix(Tabs): prevent focus of TabPanel with tabindex="-1"
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Sep 27, 2023
1 parent be734fc commit cbb2f28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/components/navigation/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
:key="index"
v-slot="{ selected }"
:class="ui.base"
tabindex="-1"
>
<slot :name="item.slot || 'item'" :item="item" :index="index" :selected="selected">
{{ item.content }}
Expand Down

0 comments on commit cbb2f28

Please sign in to comment.