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
This may be a Mapbox bug or just a Firefox specific behavior.
There's another similar property (layerX/layerY) which seems to always have the same values as offsetX/offsetY in Chrome so that should also work. However, these properties are non-standard and their use seems to be discouraged: https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerX
They're also not included in the TypeScript MouseEvent which Mapbox's MapMouseEvent extends, likely for that very same reason (non-standard and should be avoided).
Description
Tooltip jumps to upper left corner on map drag
Steps To Reproduce
Expected behavior
Tooltip continues to follow cursor
Actual behavior
Tooltip jumps to the upper left corner of the map
Screenshots
Your environment
Saw this in Firefox but not in Chrome
The text was updated successfully, but these errors were encountered: