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
Hi,
I think there may be a bug on line 84 of DragOverlay.js:
if (!(options.overlays instanceof Array)) options.overlays = [options.overlays];
options.overlays.forEach(this.addOverlay.bind(this));
I think [options.overlays] should in fact be [option.overlay] as currently I get an exception:
TypeError: Cannot read properties of undefined (reading 'element')
at olinteractionDragOverlay.addOverlay (DragOverlay.js:96:1)
I think this is because the addOverlay call on line 85 is receiving an undefined value due to bug in line 84.
I have not been able to find a workaround or any other cause for the issue.
Any confirmation or help would be appreciated.
The text was updated successfully, but these errors were encountered:
Hi,
I think there may be a bug on line 84 of DragOverlay.js:
I think [options.overlays] should in fact be [option.overlay] as currently I get an exception:
TypeError: Cannot read properties of undefined (reading 'element')
at olinteractionDragOverlay.addOverlay (DragOverlay.js:96:1)
I think this is because the addOverlay call on line 85 is receiving an undefined value due to bug in line 84.
I have not been able to find a workaround or any other cause for the issue.
Any confirmation or help would be appreciated.
The text was updated successfully, but these errors were encountered: