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
Describe the bug
Non fatal crash when removing a layer
To Reproduce
Steps to reproduce the behavior:
Have a removable layer in your Origo session. (removable: true prop for the layer or an added layer which normally comes with it). (promptlessRemoval: true for the layer is irrelevant.)
Toggle its context menu and choose to remove it. Confirm this action. Check the browser console.
Expected behavior
Layer removed from map and no crash in the console
Additional context
controls/legend/moreinfobutton tries to do popupMenu.setVisibility(false) which fails since by the time it executes the popupMenu element's id does not reside in the document. It seems as if it disappears when the layer is removed from the map, which just happens before.
No other action of moreinfobutton (export, zoom to, more info) seems to experience the same issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
Non fatal crash when removing a layer
To Reproduce
Steps to reproduce the behavior:
removable: true
prop for the layer or an added layer which normally comes with it). (promptlessRemoval: true
for the layer is irrelevant.)Expected behavior
Layer removed from map and no crash in the console
Additional context
controls/legend/moreinfobutton tries to do
popupMenu.setVisibility(false)
which fails since by the time it executes the popupMenu element's id does not reside in the document. It seems as if it disappears when the layer is removed from the map, which just happens before.No other action of moreinfobutton (export, zoom to, more info) seems to experience the same issue.
The text was updated successfully, but these errors were encountered: