-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
pointertap event doesn't work for ScrollBox items on mobile phone #100
Comments
@gagrison |
Maybe this info will help. I made my own scroll box, and I had the same issue as reported here. I also made it that when you drag at least 1px all events are not propagated. But before that, I found out that globaltouchmove event is triggered on phones on touch with 0px drag (event.global.y). |
Tested on both iPhone and Adnroid, both are firing pointertap event no problem. |
If I find time I will. Since I made my own scrollbox this is not a priority sorry. |
@gagrison Thank you. Tried to reproduce on iphone and android, and all seems to work fine. Is it some specific device you are experiencing this on? |
I already wrote it. I also tried on Samsung S23+, same thing. |
Bump :) Having the exact same issue on Pixel 4a. |
It doesn't work on the official storybook either (both using sprite/graphics). It's important not to use an emulator but a physical device. Edit: it works only if the touch is blazing fast. |
Expected Behavior
pointertap event should work for items added inside ScrollBox
Current Behavior
pointertap event doesn't work for ScrollBox items
Steps to Reproduce
Create container with sprite inside, add pointertap event on it. Make sure that there is enough height so scroll can be done. Add it to ScrollBox. Open application on mobile phone and try to click.
Environment
The text was updated successfully, but these errors were encountered: