Skip to content

Commit

Permalink
fix(VListItem): don't use content element as VOverlay activator
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Dec 5, 2022
1 parent e1d9b75 commit ad7b2c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VList/VListItem.tsx
Expand Up @@ -239,7 +239,7 @@ export const VListItem = genericComponent<new () => {
</VDefaultsProvider>
) }

<div class="v-list-item__content">
<div class="v-list-item__content" data-no-activator="">
{ hasTitle && (
<VListItemTitle key="title">
{ slots.title?.({ title: props.title }) ?? props.title}
Expand Down
Expand Up @@ -4,7 +4,9 @@ exports[`VListItem should match a snapshot 1`] = `
<div class="v-list-item v-theme--light v-list-item--density-default v-list-item--variant-text">
<span class="v-list-item__underlay">
</span>
<div class="v-list-item__content">
<div class="v-list-item__content"
data-no-activator
>
</div>
</div>
`;

0 comments on commit ad7b2c1

Please sign in to comment.