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

[iOS] If SwipeView is disabled, tap gesture events are not firing #12942

Merged
merged 6 commits into from
Dec 18, 2020

Conversation

jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented Nov 23, 2020

Description of Change

Disabling the SwipeView should disable the swipe gesture, but not the interaction with the content. If you want to disable the interaction with the content, must disable the Content.
With the changes in this PR, the behavior must be the same on Android, iOS.

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

fix11969

Testing Procedure

Launch Core Gallery and navigate to the issue 11969. Disabling the SwipeView should disable the swipe gesture, but not the interaction with the content. If you want to disable the interaction with the content, must disable the Content.

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@rmarinho
Copy link
Member

Can you add a UITest @jsuarezruiz ?

@jsuarezruiz
Copy link
Contributor Author

Added UITest!

Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests were passing

@rmarinho rmarinho merged commit 2774990 into 5.0.0 Dec 18, 2020
@rmarinho rmarinho deleted the fix-11969 branch December 18, 2020 18:34
@samhouts samhouts added this to the 5.0.0 milestone Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants