Pan gesture prevents execution of long press gesture


#1

Hello,

In my app, I have a screen which has an image in center. By swiping the image up/down, user can like/dislike the image. We have achieved this swiping of image up and down using pan gesture. We also have another functionality on the same image i.e. we are showing image details on long press gesture.

Now when we long press on the image, it currently fires pan gesture’s event 90% of the time. We are facing this issue in android only. iOS works fine!

Note: We are dynamically adding image and its events through our code.

Can someone please suggest a solution for the above issue?

Many many thanks in advance!


#2

If you can replicate this issue, it sounds like a bug and should be reported here (along with a sample app if at all possible).