widgets: prevent value update event from interfering with a container creating its children
This commit is contained in:
parent
0d66f2b8a8
commit
3a5fdf17c7
2 changed files with 6 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ class Widget extends EventEmitter {
|
|||
if (!this.linkedValueChangedCallback && Object.keys(this.linkedPropsValue).length) {
|
||||
|
||||
this.linkedValueChangedCallback = (e)=>{
|
||||
if (this.isValueChanging && e.widget !== this) {
|
||||
if (!this.parent.mounted || this.isValueChanging && e.widget !== this) {
|
||||
clearTimeout(this.valueChangingTimeout)
|
||||
this.valueChangingQueue[e.widget.hash] = e
|
||||
this.valueChangingTimeout = setTimeout(()=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue