PeterStaev / nativescript-image-swipe

A NativeScript widget to easily :point_up_2: and :mag: through a list of images
Apache License 2.0
35 stars 21 forks source link

Resetting view position with zoom #1

Closed Cayan closed 7 years ago

Cayan commented 7 years ago

I'm using a NAN application and whenever I have a zoomed image and moves around it, if I touch the screen again, I can't keep moving it around in the screen it will be reseted to x = 0 and y = 0

PeterStaev commented 7 years ago

Hey @Cayan , I've just tried both iOS and Android in the sims with the demo project in this report, and i cannot simulate this behavior.

PeterStaev commented 7 years ago

No further response so closing this one for now. In case you still have problems, please reopen and provide more details.

ghost commented 6 years ago

@Cayan I have the same issue, did you solve it?

ghost commented 6 years ago

I realized that the image resets the position if I drag my fingers fast on the screen. If I move slowly, the problem does not happen. It seems to me that the plugin confuses the swipe action with the zoom action when you make quick movements.

Cayan commented 6 years ago

I gave up, I'll probably try to implement this again soon.