nativescript-community / ui-pager

Pager / Carousel component that allows the user to swipe left and right through pages of data.
https://nativescript-community.github.io/ui-pager/
Apache License 2.0
18 stars 10 forks source link

Issue with pager and NSZommImage #59

Closed mBaldasty closed 1 month ago

mBaldasty commented 2 months ago

Sample repo can be found here https://gitlab.com/mBaldasty/pagerZoomImageIssue/-/tree/master

It seems that the swipe animation from the NSImageZoom is interfering with the swipe on the pager.

I dont know if it is feasible but to me disabling the swipe / pan on the NSImageZoom when the zoomScale hits 1 or lower should be sufficient here.

Also, video for further reference

Worth noting: This is an iOS issue as Android works fine

https://github.com/user-attachments/assets/86a7ae88-79f5-4e8f-bbb6-e69e7871b547

farfromrefug commented 1 month ago

@mBaldasty i released a new version of the zoomimage plugin which should fix it.

mBaldasty commented 1 month ago

@farfromrefug perfect. works like a charm now :)