浏览代码

[notebook] Fix issue with charts filling the page right after notebook load

When loading a notebook that is saved with charts visible the table will not have a limited height when switching to table view.
Johan Ahlen 10 年之前
父节点
当前提交
5832cd1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 1 - 0
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1927,6 +1927,7 @@ ${ require.config() }
       $(document).on("gridShown", function (e, snippet) {
         window.setTimeout(function () {
           resizeToggleResultSettings(snippet);
+          forceChartDraws();
         }, 50);
       });