Skip to content

Conversation

@paamand
Copy link

@paamand paamand commented Apr 25, 2025

The new disableDrag did not work with useLongPress due to wrong logic in the GestureDetector.
Instead, this PR changes the disableDrag to not be final and checks the state in the relevant _start and _pan methods.

This fixes the problem with useLongPress and also allows to set the disableDrag on an existing marker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant