Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] [iOS] When in CollectionView's ItemTemplate, the SwipeView emits swipe events together with scroll events #11932

Closed
mduchev opened this issue Aug 26, 2020 · 1 comment
Assignees
Labels
a/swipeview in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛
Milestone

Comments

@mduchev
Copy link

mduchev commented Aug 26, 2020

Description

On iOS, SwipeView, when in CollectionView's ItemTemplate, doesn't take all of the gestures during swipe and as soon as the user starts swiping, the CollectionView is very easily scrollable, which is annoying and is not the intended behavior. All apps with swipes done right don't emit multiple gestures during swiping. (e.g. the Mail app on iOS)

This is happening only on iOS. The SwipeView behaves correctly on Android.
I've attached both a sample project & a gif illustration of the issue.

Steps to Reproduce

  1. Create a CollectionView with a SwipeView in its ItemTemplate
  2. Add many dummy rows so that the CollectionView can be scrolled
  3. Try to swipe a row and at the same to scroll the CollectionView (swipe diagonally)

Expected Behavior

The swipe gestures shouldn't fight for which event to be executed. As soon as the swipe starts, there shouldn't be any scrolling at all.

Actual Behavior

The swipe gestures & the scroll gestures are happening simultaneously, which is very confusing and occasionally it's often not the indented behaviour that the user has been expecting.

Basic Information

  • Version with issue: 4.8.0.1269
  • Last known good version: N/A
  • IDE: Rider for macOS
  • Nuget Packages: None
  • Affected Devices: iOS devices

Screenshots

Aug-26-2020 19-51-56

Reproduction Link

DemoSwipeIssue.zip

Workaround

No workaround.

@mduchev mduchev added s/unverified New report that has yet to be verified t/bug 🐛 labels Aug 26, 2020
@jsuarezruiz
Copy link
Contributor

Related with #11651

@jsuarezruiz jsuarezruiz self-assigned this Aug 27, 2020
@jsuarezruiz jsuarezruiz removed the s/unverified New report that has yet to be verified label Aug 27, 2020
@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Aug 28, 2020
@samhouts samhouts modified the milestones: 5.0.0, 4.8.0 Aug 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/swipeview in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛
Projects
None yet
Development

No branches or pull requests

3 participants