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

Add LONG_PRESS event. #248

Open
joshwritescode opened this issue Jun 24, 2016 · 2 comments
Open

Add LONG_PRESS event. #248

joshwritescode opened this issue Jun 24, 2016 · 2 comments

Comments

@joshwritescode
Copy link

It would be useful to have an event listener for long press events that would work with either mouse or touch events.

@bp74
Copy link
Owner

bp74 commented Jun 25, 2016

Thanks for suggestion, i think this is a good idea and should be easy to do. I will take a look at it.

@bp74
Copy link
Owner

bp74 commented Jul 2, 2016

I started to investigate this, but it's not as easy to add as i thought in the first place. Mouse and Touch events are only dispatched if there is a native DOM event, but the long press event would need to be checked on each frame. I have to think about it a little bit longer.

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