modal: fix parent css containment (breaks since chrome 70)

This commit is contained in:
jean-emmanuel 2018-11-06 20:51:10 +01:00
parent eabae9bd05
commit 59d8b12530

View file

@ -171,10 +171,14 @@ module.exports = class Modal extends Panel {
// stacking
parent.container.style.zIndex = this.value ? 'initial' : ''
parent.container.style.contain = this.value ? 'style size' : ''
parent = parent.parent
}
this.container.style.contain = this.value ? 'style size' : ''
}
}