Browse Source

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

Enrico Berti 7 years ago
parent
commit
f845dcb692
1 changed files with 1 additions and 0 deletions
  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) {