Open bogdanS-e opened 7 months ago
Is there a way to pass buttons (https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons) prop to realMouseMove?
I have a drag-and-drop functionality in my application. And have an event listener for mouse move that listens when buttons: 1 (left mouse button is down)
buttons: 1
realMouseMove triggers event only with buttons: 0 (no buttons are pressed)
buttons: 0
@dmtrKovalenko
Is there a way to pass buttons (https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons) prop to realMouseMove?
I have a drag-and-drop functionality in my application. And have an event listener for mouse move that listens when
buttons: 1
(left mouse button is down)realMouseMove triggers event only with
buttons: 0
(no buttons are pressed)