modal: fix stacking when modal is inside an absolutely positionned widget
This commit is contained in:
parent
50446e0af9
commit
c521162bb9
1 changed files with 6 additions and 1 deletions
|
|
@ -60,7 +60,12 @@ module.exports = class Modal extends Panel {
|
|||
this.widget.toggleClass('on', this.value)
|
||||
this.light.toggleClass('on', this.value)
|
||||
|
||||
if (this.value) $(window).resize()
|
||||
if (this.value) {
|
||||
$(window).resize()
|
||||
this.container.parents('.widget').css('z-index','initial')
|
||||
} else {
|
||||
this.container.parents('.widget').css('z-index','')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue