소스 검색

HUE-3942 [editor] Exiting full screen seems to refresh or redraw the assist

Johan Ahlen 9 년 전
부모
커밋
2ec649cd18
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -3432,7 +3432,7 @@
           // TODO: Figure out why it goes over index at the end scroll position
           if (startIndex + idx < lastKnownHeights.length) {
             var renderedHeight = $(renderedElement).outerHeight(true);
-            if (lastKnownHeights[startIndex + idx] !== renderedHeight) {
+            if (renderedHeight > 5 && lastKnownHeights[startIndex + idx] !== renderedHeight) {
               lastKnownHeights[startIndex + idx] = renderedHeight;
               diff = true;
             }