Page MenuHomePhabricator

Map is offset in fullscreen after closing the sidebar
Closed, ResolvedPublic

Description

initial:

Screenshot 2020-03-12 at 11.09.56.png (1×1 px, 632 KB)

open sidebar:
Screenshot 2020-03-12 at 11.10.03.png (1×1 px, 578 KB)

close sidebar:
Screenshot 2020-03-12 at 11.10.11.png (1×1 px, 610 KB)

This is caused by the sidebar having some 'left over' size after hiding it, which is pushing the map up.
Initially, the sidebar isn't loaded in the DOM so that is why you don't see this problem on 1st load.

Event Timeline

TheDJ triaged this task as Low priority.
TheDJ added a project: Maps (Kartographer).

Change 579099 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/extensions/Kartographer@master] Fix offset after closing sidebar in fullscreen

https://gerrit.wikimedia.org/r/579099

Change 579099 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Fix offset after closing sidebar in fullscreen

https://gerrit.wikimedia.org/r/579099