Skip to content

Commit

Permalink
Merge pull request #122 from SylvainCorlay/rerender-workaround
Browse files Browse the repository at this point in the history
Working around rerender issue upon resize
  • Loading branch information
SylvainCorlay committed May 10, 2019
2 parents b2d215f + cba6354 commit 311dace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/sheet.ts
Expand Up @@ -298,6 +298,8 @@ let SheetView = widgets.DOMWidgetView.extend({
case 'after-show':
this._table_constructed.then(() => {
this.hot.render();
// working around table not re-rendering fully upon resize.
this.hot._refreshBorders(null);
});
break;
}
Expand Down

0 comments on commit 311dace

Please sign in to comment.