modal: nested modal fix

This commit is contained in:
bordun 2020-01-26 21:34:24 +01:00
parent 6592671880
commit c2da67ab70

View file

@ -166,7 +166,7 @@ class Modal extends Panel {
var parent = this.parent,
scrollFixed = false
while (parent && parent.props) {
while (parent && parent.props && parent.getProp('type') !== 'modal') {
// scroll
if (!scrollFixed && parent.getProp('type') == 'tab') {