瀏覽代碼

HUE-7949 [dashboard] Fix scroll and drag issues and visually hint while dragging where the widget is going to be moved

Enrico Berti 7 年之前
父節點
當前提交
a45988ea43
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

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

@@ -3810,9 +3810,7 @@ $(document).ready(function () {
     widget_margins: [10, 10],
     widget_base_dimensions: ['auto', WIDGET_BASE_HEIGHT],
     autogenerate_stylesheet: true,
-    collision: {
-      wait_for_mouseup: true
-    },
+    scroll_container: '.page-content',
     max_cols: 12,
     max_rows: 6000,
     resize: {