Fix popup behaviour, version bump

This commit is contained in:
Pieter Vander Vennet 2022-01-21 13:58:40 +01:00
parent 7f8120d62e
commit 9b85382bc1
3 changed files with 8 additions and 2 deletions

View file

@ -42,6 +42,11 @@ export default class ScrollableFullScreen extends UIElement {
const self = this;
Hash.hash.addCallback(h => {
if(h === undefined){
isShown.setData(false)
}
})
isShown.addCallback(isShown => {
if (isShown) {
// We first must set the hash, then activate the panel
@ -60,6 +65,8 @@ export default class ScrollableFullScreen extends UIElement {
ScrollableFullScreen._currentlyOpen?.isShown?.setData(false);
}
})
}