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

[BUG] MapOptions.keepAlive has no effect since v6.0.0-dev.1 #1650

Closed
JaffaKetchup opened this issue Sep 10, 2023 · 0 comments · Fixed by #1651
Closed

[BUG] MapOptions.keepAlive has no effect since v6.0.0-dev.1 #1650

JaffaKetchup opened this issue Sep 10, 2023 · 0 comments · Fixed by #1651
Labels
bug This issue reports broken functionality or another error P: 2 (soon™?)

Comments

@JaffaKetchup
Copy link
Member

What is the bug?

The keepAlive option in MapOptions has no effect as of the first v6 prerelease, as the AutomaticKeepAliveClientMixin seems to have been removed in #1551.

How can we reproduce it?

Use the Demo snippet inside a PageView, with something else on another page. Load the map, and move it to a different position. Then move to the second page, and reload the map page. It will be back at the start position.

Do you have a potential solution?

Add the appropriate mixin and fields back into FlutterMapStateContainer.

Platforms

All

Severity

Obtrusive: Prevents normal functioning but causes no errors in the console

@JaffaKetchup JaffaKetchup added bug This issue reports broken functionality or another error P: 2 (soon™?) labels Sep 10, 2023
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 P: 2 (soon™?)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant