onPointerMove in React always fires and @pointermove in Vue fires only a few times #13358
Unanswered
dbzx10299
asked this question in
Help/Questions
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am converting a React component to a Vue component and there is something I cannot figure out, and that is why the
pointermove
event fires in React but in Vue it fires at most 20 times and stops.I have a runnable example here and I have two projects set up there are 100% the same, one with Vite/React and one with Vite/Vue. The CSS is the same for both, and they both use
touch-action: none
the same.In the console, the React component always logs 'pointer move', and in the Vue component it logs 'pointer move' a few times and stops.
Vue Component
React Component
Beta Was this translation helpful? Give feedback.
All reactions