Skip to content

Commit

Permalink
ReactiveHTML should not invalidate of non-initialized roots (#3167)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Feb 2, 2022
1 parent 1d13576 commit 5df060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/models/reactive_html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class ReactiveHTMLView extends PanelHTMLBoxView {
invalidate_layout(): void {
if (this._parent != null)
this._parent.invalidate_layout()
if (this.root != this)
if (this.root != this && this.root.has_finished())
super.invalidate_layout()
}

Expand Down

0 comments on commit 5df060d

Please sign in to comment.