Set pointerEvents style programmatically instead of relying on ol.css
This commit is contained in:
@@ -24,6 +24,7 @@ class RenderBox extends Disposable {
|
||||
*/
|
||||
this.element_ = document.createElement('div');
|
||||
this.element_.style.position = 'absolute';
|
||||
this.element_.style.pointerEvents = 'auto';
|
||||
this.element_.className = 'ol-box ' + className;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user