Skip to content

Commit

Permalink
fix(VList): allow group activators to be links
Browse files Browse the repository at this point in the history
closes #10981
  • Loading branch information
KaelWD committed May 7, 2024
1 parent 1a8db40 commit 94a05d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vuetify/src/components/VList/VListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,12 @@ export const VListItem = genericComponent<VListItemSlots>()({
function onClick (e: MouseEvent) {
emit('click', e)

if (isGroupActivator || !isClickable.value) return
if (!isClickable.value) return

link.navigate?.(e)

if (isGroupActivator) return

if (root.activatable.value) {
activate(!isActivated.value, e)
} else if (root.selectable.value) {
Expand Down

0 comments on commit 94a05d1

Please sign in to comment.