-
Notifications
You must be signed in to change notification settings - Fork 444
Description
Description
After editing annotations that cause the panel to open on the left, the position of the baselayer selector on the map not shifts accordingly. See video below.
This seems to only happen when saving an existing resource and not manually closing the panel. Closing or opening the panel directly always seems to position the baselayer selector correctly. It seems that the coordinates or position offset aren't automatically restored when the save state changes.
The problem seems to be present on DEV and QA
How to reproduce
The steps to reproduce the problem are simple:
- Create a new map resource and save it with a name (with or without layers, it seems to behave the same way). It's important that the map viewer is already open on an existing resource, because the problem seems to only affect the "Save" button.
- Open the left panel and click "Add annotations." At this point, the left panel will become wider than before, and the baselayer selector will move to the right.
- Edit the annotation text or geometry and click the
Savebutton in the navbar to save the map resource, this will make the panel disappear automatically.
Expected Result
The baselayer selector should reposition itself in bottom-left with a small margin.
Current Result
The baselayer selector remains in the same position without adapting to the map's resizing.
- Not browser related
the same behavior exists on chrome and firefox in the same way
Other useful information
Even resizing the browser window doesn't move it; this should indicate that it's not just a CSS float bug.