Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fullscreen map does not cover all the viewport when tab is already in fullscreen mode. #2320

Open
Stouffi opened this issue Nov 20, 2023 · 2 comments
Labels

Comments

@Stouffi
Copy link

Stouffi commented Nov 20, 2023

Description

When browsing in full screen mode, activating the full screen control on the map will show the map not resized within full screen viewport.

Expected Behavior

The map should resize to cover the entire viewport.

Steps to Reproduce

This bug is reproducible at https://visgl.github.io/react-map-gl/examples/controls using Chrome 119.

  1. Enable fullscreen mode at the browser window level (From the Google Chrome menu bar, Select View then Enter Full Screen).
  2. Click the Enter fullscreen button on the map.
  3. The map will not be resized and will not cover the viewport.

Please note that the bug is not reproducible when DevTools is open

Environment

Also reproducible with framework version and map library used by example at https://visgl.github.io/react-map-gl/examples/controls

Logs

The bug is not reproducible when DevTools is open.

@Stouffi Stouffi added the bug label Nov 20, 2023
@faraz-b
Copy link

faraz-b commented Jul 7, 2024

Hmm interesting, adding onto this as I tested on Safari & FireFox as well and it is not reproducible. Only in Chrome. Leads me to believe this is a potential CSS bug with rendering on the V8 engine as WebKit and Gecko engines are able to handle this.

@PauloJorgeS
Copy link

PauloJorgeS commented Aug 9, 2024

I came here today to report this issue, but I see it’s already been noted.
My company would really appreciate a fix for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants