commit | 09dcd0d656b5b8b0ee50c1699d142f708c5faaf2 | [log] [tgz] |
---|---|---|
author | andrewbachmann@google.com <andrewbachmann@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Jan 29 22:13:53 2013 +0000 |
committer | andrewbachmann@google.com <andrewbachmann@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Jan 29 22:13:53 2013 +0000 |
tree | 20aec0801c8beb58b4a19ea2ef35e5b26a8789ee | |
parent | b72a76599c9a756edd9a7391e11a0c3d555824ea [diff] |
Fix problem where hidden scrollbars prevent clicks through to the scrollable content area on Chrome(webkit?) browsers on Windows. https://code.google.com/p/google-web-toolkit/issues/detail?id=7576 This is not a fix for the same/similar issue on Mac OS for Chrome and Safari. Fix suggested by Steven Arth: https://code.google.com/p/google-web-toolkit/issues/detail?id=7576#c34 Review at http://gwt-code-reviews.appspot.com/1886803 git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11480 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/ResizeLayoutPanel.java b/user/src/com/google/gwt/user/client/ui/ResizeLayoutPanel.java index 2f4dac6..49f1278 100644 --- a/user/src/com/google/gwt/user/client/ui/ResizeLayoutPanel.java +++ b/user/src/com/google/gwt/user/client/ui/ResizeLayoutPanel.java
@@ -140,6 +140,7 @@ expandable.getStyle().setHeight(100.0, Unit.PCT); expandable.getStyle().setWidth(100.0, Unit.PCT); expandable.getStyle().setOverflow(Overflow.SCROLL); + expandable.getStyle().setZIndex(-1); elem.appendChild(expandable); expandableInner = Document.get().createDivElement().cast(); expandable.appendChild(expandableInner); @@ -160,6 +161,7 @@ collapsible.getStyle().setHeight(100.0, Unit.PCT); collapsible.getStyle().setWidth(100.0, Unit.PCT); collapsible.getStyle().setOverflow(Overflow.SCROLL); + collapsible.getStyle().setZIndex(-1); elem.appendChild(collapsible); collapsibleInner = Document.get().createDivElement().cast(); collapsibleInner.getStyle().setWidth(200, Unit.PCT);