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

MouseArea and Touch Event in mobile browser #420

Open
benlau opened this issue Sep 17, 2017 · 1 comment
Open

MouseArea and Touch Event in mobile browser #420

benlau opened this issue Sep 17, 2017 · 1 comment

Comments

@benlau
Copy link

benlau commented Sep 17, 2017

Hello,

In the master branch, MouseArea doesn't handle the touch event in a mobile browser. Therefore, it is not able to set "pressed" flag while the finger is holding on the MouseArea. Is anyone working on this feature? Any problem if I try to fix it and contribute a patch?

Thanks.

@stephenmdangelo
Copy link
Member

Hello, I have a patch that uses jQuery "virtual" mouse events. I can push it if you're interested. Requires jQuery mobile, of course.

I also include the fastclick library to reduce the time for a "press" event: https://github.com/ftlabs/fastclick

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