Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tap gesture on Content is blocking the pinch gesture on ContentView #14154

Open
NavaneethS opened this issue Mar 23, 2023 · 1 comment
Open
Labels
area-gestures Gesture types platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@NavaneethS
Copy link

NavaneethS commented Mar 23, 2023

Description

If we added a PinchGestureRecognizer to a ContentView and add a TapGestureRecognizer to the Content of the ContentView and tried to pinch, then the pinch is not recognized. But if we remove the TapGestureRecognizer and pinch, then the pinch is recognized. Because of this, I am never able to detect the pinch on the ContentView

Steps to Reproduce

  1. Run the replication sample
  2. Pinch on the screen, the PinchUpdated event of the pinch gesture is not fired.
  3. Now remove the TapGestureRecognizer from childView and pinch. Now you can see the PinchUpdated event is fired.

Link to public reproduction project repository

https://github.com/NavaneethS/GestureIssue.git

Version with bug

6.0.312

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 13.0

Did you find any workaround?

No

Relevant log output

NA
@NavaneethS NavaneethS added the t/bug Something isn't working label Mar 23, 2023
@Eilon Eilon added the area-gestures Gesture types label Mar 23, 2023
@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Oct 10, 2023
@Zhanglirong-Winnie
Copy link

Visual Studio Enterprise 17.8.0 Preview 2.0. Can repro on android platform with sample project.
GestureIssue-main.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-gestures Gesture types platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants