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 get an infinite resize loop when the console is opened or with specific window size (hard to reproduce, seems random).
While it is resizing, the layers are not loaded and the map stays blank.
My advice is to set the CSS width/height of your container, or at least one of its ancestors, using absolute unit (px, pt, vh, vw, etc.). Deck's default width/height are set to fill to its direct parent. If the parent size changes after Deck resizes its canvas, it could lead to a self-feedback loop.
Description
I get an infinite resize loop when the console is opened or with specific window size (hard to reproduce, seems random).
While it is resizing, the layers are not loaded and the map stays blank.
ScreenFlow.mp4
May be related to #1687
CSS of the deck.gl map div:
.map { background: rgba(0,0,0,1.0); position: relative; padding: 0; margin: 0; width: 100%; height: 100%; }
Parent div is a flex box
Flavors
Expected Behavior
The map should not resize infinitely
Steps to Reproduce
Open the console window and resize the browser window until the bug appears. Hard to reproduce every time.
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: