Skip to content

Commit

Permalink
Ensure Trend indicator can be rendered in layout (#2694)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 1, 2021
1 parent 66b235c commit abb91ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panel/models/trend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ export class TrendIndicatorView extends HTMLBoxView {
this.textDiv.style.flex = "1"
this.plotDiv.style.flex = "1"
}
this.invalidate_layout()
if (this._has_finished)
this.invalidate_layout()
}
}

Expand Down

0 comments on commit abb91ad

Please sign in to comment.