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

'interactive' option doesn't block interaction #20

Closed
rafalbednarczuk opened this issue Mar 24, 2018 · 5 comments
Closed

'interactive' option doesn't block interaction #20

rafalbednarczuk opened this issue Mar 24, 2018 · 5 comments
Labels
bug This issue reports broken functionality or another error

Comments

@rafalbednarczuk
Copy link

I want make flutter_map static, disable user input for it. I supposed setting interactive option to false would do this, but it doesn't change anything. How can it be solved?

@johnpryan
Copy link
Collaborator

Good find! the interactivity was recently moved into MapGestureMixin.

If you want to take a crack at it, the fix would be to make MapGestureMixin check if options.interactive is false.

@johnpryan johnpryan added the bug This issue reports broken functionality or another error label Jun 4, 2018
@johnpryan johnpryan changed the title interactive option 'interactive' option doesn't block interaction Jul 28, 2019
@johnpryan
Copy link
Collaborator

I think there's two places where gesture detection is happening, and only one is respecting the interaction parameter.

@raacker
Copy link
Contributor

raacker commented Oct 17, 2019

@johnpryan Does that mean custom GestureDetector on Marker should be disabled? https://github.com/johnpryan/flutter_map/blob/master/example/lib/pages/on_tap.dart#L30

I couldn't find any other gesture usages except on GestureMixin. Probably all fixed?

@github-actions
Copy link

github-actions bot commented Apr 3, 2021

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 3, 2021
@github-actions
Copy link

github-actions bot commented Apr 8, 2021

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue reports broken functionality or another error
Projects
None yet
Development

No branches or pull requests

3 participants