浏览代码

HUE-8248 [dashboard] Automatically expand widgets to show all their content

Enrico Berti 7 年之前
父节点
当前提交
f845dcb692
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

+ 1 - 0
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -4191,6 +4191,7 @@ $(document).ready(function () {
 
   function equalizeWidgetsHeights() {
     if (searchViewModel.isGridster() && !isDraggingOrResizingWidgets) {
+      huePubSub.publish('gridster.remove.scrollbars');
       // widgets on the same row should have the same height
       var touched = [];
       searchViewModel.gridItems().forEach(function (existingWidget) {