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

PointAnnotation onTapGesture has delayed trigger #2283

Open
snboyle16 opened this issue Jan 22, 2025 · 1 comment
Open

PointAnnotation onTapGesture has delayed trigger #2283

snboyle16 opened this issue Jan 22, 2025 · 1 comment
Labels
bug 🪲 Something is broken!

Comments

@snboyle16
Copy link

Environment

  • Xcode version: 16.1
  • iOS version: 18.0
  • Devices affected: iPhone 13 - all
  • Maps SDK Version: 11

Observed behavior and steps to reproduce

Point annotations take a noticeable amount of time to trigger onTapGesture. I've noticed that the SwiftUI AnnotationView's onTapGesture triggers immediately.

Expected behavior

The expected behavior is to have immediate trigger of the gesture.

@snboyle16 snboyle16 added the bug 🪲 Something is broken! label Jan 22, 2025
@maios
Copy link
Contributor

maios commented Jan 23, 2025

Hi @snboyle16, this is expected since single tap gesture is awaiting for other gestures to fail, i.e double tap/touch. If you are not using double tap to zoom in and out, would disabling this gesture work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something is broken!
Projects
None yet
Development

No branches or pull requests

2 participants