You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Secretmapper - Thanks for opening this issue. When you say "isMouseDown" do you mean "is the mouse button being held down", like in a text selection or drag operation?
I guess it would be similar to "drag operation" yes.
As for use case, I'm planning to use this library for my image annotation library (https://github.com/Secretmapper/react-image-annotation) and isMouseDown would be useful to keep track if the user is trying to create/edit/resize his annotation 'rectangle'.
isActive sort of fits the bill for touch (since touch needs to be "held down" anyway due to the finger needing to be on the screen) but it doesn't apply to mouse as it is isActive by default (and I think isActive is just for active status of the listener?)
No description provided.
The text was updated successfully, but these errors were encountered: