Skip to content

Commit

Permalink
fix(components): [collapse-item] If disabled, no focus (#8081)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuhangyeong committed Jun 8, 2022
1 parent 94808e8 commit 4702860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/collapse/src/collapse-item.vue
Expand Up @@ -17,7 +17,7 @@
:class="[
ns.be('item', 'header'),
ns.is('active', isActive),
{ focusing },
{ focusing: focusing && !disabled },
]"
role="button"
:tabindex="disabled ? -1 : 0"
Expand Down

0 comments on commit 4702860

Please sign in to comment.