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

JPro touch and drag for scroll not work fine! #144

Open
ctoabidmaqbool opened this issue Mar 26, 2023 · 3 comments
Open

JPro touch and drag for scroll not work fine! #144

ctoabidmaqbool opened this issue Mar 26, 2023 · 3 comments

Comments

@ctoabidmaqbool
Copy link

HI! It looks like JPro on Android touch mobile is not working fine in a case when click and drage event is happen (for scrolling page).

Rather then scrolling, touch / click event also executes.

If using UtilLInk.goToPage() function is uesed!

@FlorianKirmaier
Copy link
Contributor

JPro is supposed to distinguish between drags and clicks properly.
Are you using the latest version of JPro?
Are you using the "stillSincePress" property of the event?

@ctoabidmaqbool
Copy link
Author

ctoabidmaqbool commented Mar 27, 2023

Are you using the latest version of JPro?

We are using latest JPro stable versions except routing e.g. 0.11.0!

Are you using the "stillSincePress" property of the event?

No, we are not using this property anywhere!

@FlorianKirmaier
Copy link
Contributor

Well, you have to use the stillSincePress property.
If you scroll on mobile - in some sense, it's still a click.
To distinguish between drags and "normal clicks" you just have to use the stillSincePress property.

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