Skip to content

Commit

Permalink
fix(VSnackbar): don't cancel close timeout after a touch event
Browse files Browse the repository at this point in the history
These events aren't supported in older browser versions but it's a
non-critical feature so they can just suffer I guess.

fixes #13904
  • Loading branch information
KaelWD committed Jul 8, 2021
1 parent 6bb9484 commit 74ecaa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vuetify/src/components/VSnackbar/VSnackbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ export default mixins(
value: this.isActive,
}],
on: {
mouseenter: () => window.clearTimeout(this.activeTimeout),
mouseleave: this.setTimeout,
pointerenter: () => window.clearTimeout(this.activeTimeout),
pointerleave: this.setTimeout,
},
})

Expand Down

0 comments on commit 74ecaa9

Please sign in to comment.