Skip to content

Commit f56113d

Browse files
committedMar 9, 2025··
fix(VTreeview): stop click bubbling up on expand icon
fixes #20442
1 parent 9dbe0bc commit f56113d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
 

‎packages/vuetify/src/components/VList/VListGroup.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ export const VListGroup = genericComponent<VListGroupSlots>()({
6666
const { isBooted } = useSsrBoot()
6767

6868
function onClick (e: Event) {
69-
e.stopPropagation()
7069
open(!isOpen.value, e)
7170
}
7271

‎packages/vuetify/src/labs/VTreeview/VTreeviewItem.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const VTreeviewItem = genericComponent<VListItemSlots>()({
6262

6363
function onClickAction (e: PointerEvent) {
6464
e.preventDefault()
65+
e.stopPropagation()
6566
emit('toggleExpand', e)
6667
}
6768

0 commit comments

Comments
 (0)
Please sign in to comment.