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
It seems using Threebox overrides all cursor behaviour defined in Mapbox by overriding the element style of .mapboxgl-canvas-container. As a result cursor is forced to default unless specified otherwise during Threebox specific interactions.
This is especially frustrating when using something like mapbox-gl-draw and not getting any cursor feedback on when I'm hovering over features etc.
Possible solutions?
use this.getCanvasContainer().style.cursor = null; instead of this.getCanvasContainer().style.cursor = 'default'; ?
EDIT: Sorry for the Feature label, probably should be under Code Improvements.
The text was updated successfully, but these errors were encountered:
@ondrej-vesely Thanks for opening the issue!
It’s ok with feature, no worries. I’ll look for options that allows to define a default cursor. I’ll be back to you ASAP
It seems using Threebox overrides all cursor behaviour defined in Mapbox by overriding the element style of
.mapboxgl-canvas-container
. As a result cursor is forced todefault
unless specified otherwise during Threebox specific interactions.This is especially frustrating when using something like mapbox-gl-draw and not getting any cursor feedback on when I'm hovering over features etc.
Possible solutions?
this.getCanvasContainer().style.cursor = null;
instead ofthis.getCanvasContainer().style.cursor = 'default';
?EDIT: Sorry for the Feature label, probably should be under Code Improvements.
The text was updated successfully, but these errors were encountered: