-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] SwipeView does not work on Android if child has TapGestureRecognizer #11333
Comments
In last known good version sometimes it was hard to scroll CollectionView. Swipe gestures and scroll gestures sometimes clashed with each other. |
In my project, it works fine in 4.7.0.968. All subsequent builds are not ... |
This issue seems to be resolved with 4.7.0.1239. At least in my project where I have a grid with tab gesture, and swipeviews. |
@darrabam You seem to be right... Though the tap gesture is a bit dodgy on an emulator. I'll have to try it out on an actual device. @samhouts @jsuarezruiz I see the PR for this ticket doesn't seem to be merged. Did the fix make it in on a different PR, or did this get resolved incidentally? I don't want to just close this ticket if there's still other work to be done on it. |
I can confirm that version 4.7.0.1239, also resolved the issue for me. |
Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com> fixes xamarin#11333
Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com> fixes xamarin#11333
Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com> fixes xamarin#11333
Description
If the child element of a SwipeView has a TapGestureRecognizer attached (have not tried other gesture recognizers), the element will not swipe. This only affects Android, on iOS the swipe gesture works perfectly okay. This is easiest to see if the child element is a Frame, but the situation is the same regardless of layout type.
Steps to Reproduce
Expected Behavior
The frame should swipe to the left (SwipeView.RightItems) and expose two actions
Actual Behavior
The frame does not move on Android.
Basic Information
Reproduction Link
SwipeViewFrame.zip
Workaround
4.6.0.967 Seems to work fine for both Android and iOS AFAICT. I couldn't find any other workarounds aside from just removing the gesture recognizer.
The text was updated successfully, but these errors were encountered: