Why might onMapLongClick not be getting invoked? #347
Replies: 2 comments
-
Which version are you on? There was a bug with long click in v0.6.0, fixed in v0.7.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@sargunv That was it. I was on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm on latest (as of this writing) Android Studio on macOS using
Pixel 6a API 36
emulator. I've confirmed that the emulator supports long click gestures with a simple test composable. The map is rendering and moving just fine, but myonMapLongClick
handler is not getting invoked, but myonMapClick
is. Here's a snippet from my activity:When I tap (left click with the mouse), the
Clicked at
message appears in logcat. When I long tap (left click & hold for many seconds), theonMapClick
gets invoked, but theonMapLongClick
never gets invoked. Am I doing something wrong here?Beta Was this translation helpful? Give feedback.
All reactions