Web-Map-Custom-Element
Web-Map-Custom-Element copied to clipboard
Exiting out of a fullscreen map, makes the page scroll to the top
When you enter fullscreen for the map and exit out of fullscreen, the web page gets scrolled to the top.
When exiting fullscreen with the fullscreen control button or the contextmenu button, the web page scrolls to the top, but when you exit fullscreen by pressing the Esc key, the map does not scroll to the top:
https://user-images.githubusercontent.com/55751566/222467371-b3968de2-103a-475a-8c40-81ca7b17d761.mp4
Steps to reproduce: on this page if you scroll down and try to fullscreen the map, and then exit out of it (via the contextmenu or the fullscreen control button), the page would have scrolled to the top.