modal: fix init order (resize glitch on recent chrome)
This commit is contained in:
parent
a840bf6eaf
commit
d621422162
2 changed files with 3 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
- bug fixes
|
||||
- geometry properties not properly applied when reset to `auto`
|
||||
- `strip` layout not properly applied when changing the widget's `horizontal` property
|
||||
- `modal` glitch on chromium v70
|
||||
|
||||
## 0.41.1
|
||||
|
||||
|
|
|
|||
|
|
@ -123,11 +123,12 @@ module.exports = class Modal extends Panel {
|
|||
|
||||
this.bindEscKey(this.value)
|
||||
|
||||
if (this.init) this.fixParents()
|
||||
|
||||
if (this.value) {
|
||||
resize.check(this.widget, true)
|
||||
}
|
||||
|
||||
if (this.init) this.fixParents()
|
||||
|
||||
if (options.send) this.sendValue()
|
||||
if (options.sync) this.changed(options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue