react-click-n-hold
react-click-n-hold copied to clipboard
Long press event for react. Click and hold wrapper component. :alien: :construction_worker: :construction: :package:
Fixed issue causing copy of react to launch ontop of running copy. Run in devtools w/ react developers tools: __REACT_DEVTOOLS_GLOBAL_HOOK__.renderers.forEach(r => console.log(`${r.rendererPackageName}: ${r.version}`)) VM2846:1 react-dom: 16.13.1 VM2846:1 undefined: undefined Causes...
We want to introduce this lib in our design system but we noticed that the "click and hold" doesn't work when using the keyboard. When using `` elements events should...
If the ClickNHold handler opens an alert the mouseUp event is never called. This prevents the end call from happening so holding the mouse down on the element again will...
I have a powerOn powerOff button that uses this library. If the button state is OFF, when I press to turn on it goes from gray to green color with...
`` expects `` elements as children. Decorating a `` element with `` produces some issues
Can modify it to call onClickNHold after the Time is up? Thank you
right now even a click will start an event is it possible to filter an event when user has held the click for more than say 500 milliseconds and ignore...