forked from MapComplete/MapComplete
Fix popup behaviour, version bump
This commit is contained in:
parent
7f8120d62e
commit
9b85382bc1
3 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue