From a11a1565aeea1bc8a3d4c6599c3fb211e9001cd2 Mon Sep 17 00:00:00 2001 From: James Morrin Date: Fri, 4 Apr 2014 11:45:27 -0400 Subject: [PATCH] fix #886 ColumnHider on OSX disappeared, with latest css changes We were adding the dgrid-header class to the headerScrollNode, which will hide the ColumnHider icon on OSX browsers that hide the scrollbars by default, because we set overflow:hidden in dgrid-header. This is regression that appeared in v0.3.14, it was not present in v0.3.13. --- List.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/List.js b/List.js index ece43c033..e787128d9 100644 --- a/List.js +++ b/List.js @@ -256,7 +256,7 @@ function(kernel, declare, dom, listen, has, miscUtil, TouchScroll, hasClass, put bodyNode.tabIndex = -1; } - this.headerScrollNode = put(domNode, "div.dgrid-header.dgrid-header-scroll.dgrid-scrollbar-width" + + this.headerScrollNode = put(domNode, "div.dgrid-header-scroll.dgrid-scrollbar-width" + (addUiClasses ? ".ui-widget-header" : "")); // Place footer node (initially hidden if showFooter is false).