widgets: let prop inheritance trigger recreation upon non-dynamic prop update from self

This commit is contained in:
bordun 2020-05-19 21:00:03 +02:00
parent 50cb3c429f
commit b05220b478

View file

@ -721,7 +721,7 @@ class Widget extends EventEmitter {
if (!this.isDynamicProp(propName)) {
if ((!widget || !this.contains(widget)) && widget !== this && !(widget === this && updatedProps.length === 1 && updatedProps[0] === 'value')) {
if ((!widget || !this.contains(widget)) && !(widget === this && updatedProps.length === 1 && updatedProps[0] === 'value')) {
reCreate = true
break
}