-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v-touch-swipe.mouse trigger pointerleave/mouseleave #16127
Comments
Unfortunately in order to work touch directives set You can check a quick workaround - it's not perfect, but it mostly works |
Hi, thank you for the work around. I can't get my head around the https://codesandbox.io/p/sandbox/zealous-wilbur-ss3vmy?file=%2Fsrc%2Fpages%2FIndex.vue%3A39%2C28 |
Okay should have try it before commented, I just remove the |
This is a much simpler workaround: https://codepen.io/pdanpdan/pen/rNQoOgj |
@pdanpdan thanks! Neat indeed! |
What happened?
when using v-touch-swipe.mouse, pointerleave event is triggered even mouse is still inside the element
What did you expect to happen?
v-touch-swipe.mouse shouldn't trigger pointerleave/mouseleave
Reproduction URL
https://codesandbox.io/s/inspiring-feather-pzk4gp?file=/src/pages/Index.vue
How to reproduce?
try swipe on the element, u can see that pointerleave event is also triggered. can try to reset with @contextmenu
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Directives (quasar)
Platforms/Browsers
No response
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: