modal: breakout clean
This commit is contained in:
parent
f13bffa1f2
commit
0daf84a327
2 changed files with 1 additions and 3 deletions
|
|
@ -178,9 +178,6 @@ class Modal extends Panel {
|
|||
|
||||
while (parent && parent.props && !parent.getProp('type').match(/modal|tab|root/)) {
|
||||
|
||||
// stacking
|
||||
parent.container.style.zIndex = this.value ? 'initial' : ''
|
||||
|
||||
parent.modalBreakout += (this.value ? 1 : -1)
|
||||
if (parent.modalBreakout > 0) parent.container.classList.add('modal-breakout')
|
||||
else if (parent.modalBreakout === 0) parent.container.classList.remove('modal-breakout')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue