bug(google-map): fitBounds need to run in setTimeout to apply #24703
Labels
needs: clarification
The issue does not contain enough information for the team to determine if it is a real bug
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Our app use a lot of GoogleMap and duno why the first loading of the map works correctly but all other with the navigation fail to fitBounds.
The only why i found to fix it is to wrap the fitbounds with a setTimeout.
Reproduction
Steps to reproduce:
Expected Behavior
fitbounds without a setTImeout
Actual Behavior
Need a setTimeout to fitBounds
Environment
The text was updated successfully, but these errors were encountered: