Prevent map reset on each navigate
Steps to reproduce
Use this example: https://jsbin.com/hasavawozi/edit?html,output
- Click on "Map"
- Zoom on Paris
- Click on "Back"
- Re-click on "Map"
Expected behavior
It should still be zoomed on Paris. It's especially true when we use dialogs
What's happening?
To prevent #661 (closed), we reset the map on each navigate if it's visible.
We should make this only the first time it becomes visible
- Library version: 0.17
- Targeted application: energie partagee