Closed Perfomer closed 4 months ago
@Perfomer Thank you for creating an issue.
Could you try v1.6.1-beta01?
I found that sometimes HorizontalPager scrolling and Zoomable onTap evnet can occur at the same time. The cause was that Zoomable did not cancel gesture handling when the parent composable consumed PointerEvents.
Now I fixed to cancel gesture handling.
Now it works great! Thank you!
Good! I will close this issue and will release v1.6.1.
Preconditions:
HorizontalPager
with pictures and I want to toggle UI on tap.Problem: I faced the issue when
onTap
callback invokes by swipe gesture, not a tap. It reproduces when you swipe slightly so Pager even doesn't change the page.You can see it on the video:
https://github.com/usuiat/Zoomable/assets/16479387/56621acd-473e-425c-8cc0-efac99c41d3a
Code:
Ask: Could you please make the
onTap
callback more strict, so it doesn't trigger with slight swipes?