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
I need modal to be opened on long pressing an element.
When I use useDrag, it seems not to update because the mouse cursor or the touch finger is not moving because it's on one place. I'm long-pressing in one place right. And when I use useHover, and I console log the properties touches and |down they log false and 0. Like they are not even considered in this event/gesture.
Seems it's check mate for me.
I also saw a request for this gesture years ago #241. Please I went through sweat to implement and learn this library for my gesture driven PWA, I was looking for something that can handle all gesture. Long pressing is a very common pattern across many apps. Please tell me there is a way to handle long pressing. 🙏 I am thankful for your work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I need modal to be opened on long pressing an element.
When I use
useDrag, it seems not to update because the mouse cursor or the touch finger is not moving because it's on one place. I'm long-pressing in one place right. And when I useuseHover, and I console log the propertiestouchesand |downthey log false and 0. Like they are not even considered in this event/gesture.Seems it's check mate for me.
I also saw a request for this gesture years ago #241. Please I went through sweat to implement and learn this library for my gesture driven PWA, I was looking for something that can handle all gesture. Long pressing is a very common pattern across many apps. Please tell me there is a way to handle long pressing. 🙏 I am thankful for your work.
All reactions