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
The auto anchoring of the popup should treat the padding similar to the map edge and re-anchor if it has space.
My reasoning is that global padding is usually set so that content is only shown in the background in that padded area and no focused content should appear there, though it probably does depend on what people are using padding for.
Actual Behavior
The popup will overflow into the global padding and only re-anchor on the map edge.
The text was updated successfully, but these errors were encountered:
mapbox-gl-js version: 2.8.2
browser:
Steps to Trigger Behavior
map.setPadding
map.showPadding = true
Link to Demonstration
https://codepen.io/andrewharvey/pen/jOZOXGm
Expected Behavior
The auto anchoring of the popup should treat the padding similar to the map edge and re-anchor if it has space.
My reasoning is that global padding is usually set so that content is only shown in the background in that padded area and no focused content should appear there, though it probably does depend on what people are using padding for.
Actual Behavior
The popup will overflow into the global padding and only re-anchor on the map edge.
The text was updated successfully, but these errors were encountered: