-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Labels
releasedtriage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- library: com.google.maps.android:maps-compose:2.1.0
Steps to reproduce
- clone this repo
- add your google api key to the manifest file
- Quickly navigate between the bottom tabs and check if the maps is loaded properly
- When navigating quickly with the bottom tabs the maps wont restore its state eg. camera position, markers
Observation
The maps will load properly even if we navigate quickly on the bottom tabs when the starting route of nav host is the map to reproduce.
- Change the AnimatedNavHost start destination from
AnimatedNavHost(
navController = navController,
startDestination = Screen.Other.route
)
to
AnimatedNavHost(
navController = navController,
startDestination = Screen.Map.route
)
and it will work just fine.
Here is a sample video of the bug
Metadata
Metadata
Assignees
Labels
releasedtriage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.