Skip to content

Commit

Permalink
fix(VList/VTreeview): don't change tabindex when isFocused changes
Browse files Browse the repository at this point in the history
drastically improves #19919
doesn't break #17470
  • Loading branch information
johnleider committed Feb 18, 2025
1 parent ac50858 commit cda9307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VList/VList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const VList = genericComponent<new <
dimensionStyles.value,
props.style,
]}
tabindex={ (props.disabled || isFocused.value) ? -1 : 0 }
tabindex={ props.disabled ? -1 : 0 }
role="listbox"
aria-activedescendant={ undefined }
onFocusin={ onFocusin }
Expand Down

0 comments on commit cda9307

Please sign in to comment.