JPro-one / JPro-Tickets

The right place to report about bugs or suggest improvements for JPro.
https://www.jpro.one
9 stars 4 forks source link

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

Open ctoabidmaqbool opened 1 year ago

ctoabidmaqbool commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.