useMouseInElement Bug on scroll without move mouse. #3854
-
With minimal scroll (mouse) movement. The value of elementY and isOutside shows incorrect information Nagranie_z_ekranu_2024-03-8_o_08.28.53.movReproduction: https://github.com/vueuse/vueuse/blob/main/packages/core/useMouseInElement/demo.vue |
Beta Was this translation helpful? Give feedback.
Answered by
FabianRzepka
Mar 8, 2024
Replies: 1 comment
-
const mouse = reactive(useMouseInElement(target,{ type: "client"})) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
FabianRzepka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const mouse = reactive(useMouseInElement(target,{ type: "client"}))
setting type: "client" fix this problem.