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

[Bug] SwipeView does not work on Android if child has TapGestureRecognizer #11333

@RedChops

Description

@RedChops

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

  1. Build attached project
  2. Attempt to swipe on the list elements in both Android and iOS

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

  • Version with issue: 4.6.0.1073 and all later
  • Last known good version: 4.6.0.967
  • IDE:
  • Platform Target Frameworks:
    • iOS: 13.3
    • Android: 10
  • Android Support Library Version: AndroidX
  • Nuget Packages:
  • Affected Devices: Android

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions