Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persist the original event? #5

Open
Nantris opened this issue Dec 28, 2019 · 1 comment
Open

Persist the original event? #5

Nantris opened this issue Dec 28, 2019 · 1 comment

Comments

@Nantris
Copy link

Nantris commented Dec 28, 2019

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

@minwork
Copy link

minwork commented Apr 27, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants