Close popup after splitting; scroll popup into view

This commit is contained in:
Pieter Vander Vennet 2023-01-04 18:52:49 +01:00
parent 057c3fde4f
commit a7da5d65cf
4 changed files with 17 additions and 17 deletions

View file

@ -115,6 +115,10 @@ export default class ShowDataLayerImplementation {
})
this._selectedElement?.addCallbackAndRunD((selected) => {
if (selected === undefined) {
ScrollableFullScreen.collapse()
return
}
self.openPopupOfSelectedElement(selected)
})