Эх сурвалжийг харах

HUE-8694 [frontend] Fix scroll in the database dropdown

Johan Ahlen 6 жил өмнө
parent
commit
e066d05

+ 1 - 1
desktop/core/src/desktop/templates/ko_components/ko_drop_down.mako

@@ -39,7 +39,7 @@ from desktop.views import _ko
     <i class="fa fa-caret-down"></i>
     <!-- /ko -->
     <div class="hue-drop-down-container" data-bind="css: { 'open' : dropDownVisible, 'hue-drop-down-fixed': fixedPosition, 'hue-drop-down-container-searchable': searchable }, dropDownKeyUp: { onEsc: onEsc, onEnter: onEnter, dropDownVisible: dropDownVisible }">
-      <div class="dropdown-menu" data-bind="visible: filteredEntries().length > 0, style: { 'overflow-y': !foreachVisible ? 'auto' : 'hidden' }">
+      <div style="overflow-y: auto;" class="dropdown-menu" data-bind="visible: filteredEntries().length > 0">
         <!-- ko if: foreachVisible -->
         <ul class="hue-inner-drop-down" data-bind="foreachVisible: { data: filteredEntries, minHeight: 34, container: '.dropdown-menu' }">
           <!-- ko if: typeof $data.divider !== 'undefined' && $data.divider -->