react-repeatable icon indicating copy to clipboard operation
react-repeatable copied to clipboard

Persist the original event?

Open Nantris opened this issue 5 years ago • 1 comments

Love the library! It would be cool to be able to persist the original event so it could be passed to onHold so that keyboard modifiers could be used in conjunction with this

eg, Shift+Click(&Hold) = Increment x10 like in many apps

Nantris avatar Dec 28 '19 00:12 Nantris

@Slapbox Hey, if you still want to solve this problem and you can use react hook instead of component I can recommend you https://www.npmjs.com/package/use-long-press where you are able to receive event object in callbacks.

minwork avatar Apr 27 '20 08:04 minwork