Description
mapbox and maplibre render popups below controls so using IControl for deck.gl isn't a good idea.
This makes sense, because popups are HTML elements that are considered part of the map, whereas controls sit on top of the map.
Flavors
Expected Behavior
deck.gl layers should be below Popup created on the basemap
Steps to Reproduce
Controlled by enableBug4 in https://github.com/JayFoxRox/deck.gl-bugs/blob/master/src/DeckGlBugs.tsx
My current workaround is to get access to the deck.gl canvas element and moving it to a different position in the DOM.
I'd recommend against fixing this by z-index because it can quickly lead to bad interaction with other libraries or users code which might also use z-index.
Environment
- Framework version: deck.gl@9.0.0-beta.4
- Browser: All
- OS: All
Logs
No response
Description
mapbox and maplibre render popups below controls so using
IControlfor deck.gl isn't a good idea.This makes sense, because popups are HTML elements that are considered part of the map, whereas controls sit on top of the map.
Flavors
Expected Behavior
deck.gl layers should be below
Popupcreated on the basemapSteps to Reproduce
Controlled by
enableBug4in https://github.com/JayFoxRox/deck.gl-bugs/blob/master/src/DeckGlBugs.tsxMy current workaround is to get access to the deck.gl canvas element and moving it to a different position in the DOM.
I'd recommend against fixing this by z-index because it can quickly lead to bad interaction with other libraries or users code which might also use z-index.
Environment
Logs
No response