Skip to content

Commit

Permalink
Ensure Tabulator expanded rows are sized correctly after re-render (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored May 10, 2022
1 parent 18d5e4d commit ac56af3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions panel/models/tabulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ export class DataTabulatorView extends PanelHTMLBoxView {

invalidate_render(): void {
this.render()
if (this.model.expanded.length)
this.relayout()
}

renderComplete(): void {
Expand Down

0 comments on commit ac56af3

Please sign in to comment.