You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I show it in a 1366 px wide viewport. The map canvas should be 1366 when drawer is hidden, while 1366 minus drawer's width when it's visible. This works as intended when we toggle drawer.
However, if map starts with drawer visible and locked (i.e. "permanent"), the map canvas stretches underneath the drawer.
OK, no drawer, canvas as wide as the viewport:
OK, drawer locked and canvas gets narrowed down on the lock event:
Not OK: map loads with drawer already visible and locked but the map canvas occupies the invisible space underneath the drawer too. It shouldn't. It should be exactly as in the second screenshot.
The text was updated successfully, but these errors were encountered:
See title for description.
Below is a demonstration of the problem.
I show it in a 1366 px wide viewport. The map canvas should be 1366 when drawer is hidden, while 1366 minus drawer's width when it's visible. This works as intended when we toggle drawer.
However, if map starts with drawer visible and locked (i.e. "permanent"), the map canvas stretches underneath the drawer.
OK, no drawer, canvas as wide as the viewport:
OK, drawer locked and canvas gets narrowed down on the lock event:
Not OK: map loads with drawer already visible and locked but the map canvas occupies the invisible space underneath the drawer too. It shouldn't. It should be exactly as in the second screenshot.
The text was updated successfully, but these errors were encountered: