Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE7
Description
-
Hide
- ICE-4485.war
- 5.34 MB
- Tyler Johnson
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/.../.netbeans_automatic_build 0.0 kB
- WEB-INF/classes/TreeBean.class 2 kB
- WEB-INF/faces-config.xml 0.5 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 113 kB
- WEB-INF/lib/commons-collections.jar 162 kB
- WEB-INF/lib/commons-digester.jar 104 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-logging.jar 30 kB
- WEB-INF/lib/icefaces-comps.jar 1.91 MB
- WEB-INF/lib/icefaces.jar 1.05 MB
- WEB-INF/lib/jsf-api.jar 350 kB
- WEB-INF/lib/jsf-impl.jar 816 kB
- WEB-INF/lib/jstl.jar 20 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/web.xml 3 kB
- index.jsp 0.1 kB
- main.jspx 2 kB
- src/conf/MANIFEST.MF 0.0 kB
- src/java/TreeBean.java 3 kB
-
- ICE-4485_screen1.jpg
- 21 kB
-
- ICE-4485_screen2.jpg
- 17 kB
-
- ScreenHunter_01.jpg
- 211 kB
-
- ScreenHunter_02.jpg
- 98 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Removed the divider panel and the problem still exists. So this problem has nothing to do with the divider panel. Also, if dropTarget is changed to false, the problem disappears. So this problem is solely caused by the tree nodes being a drop target inside a scrollable div.
This is an IE bug. Scriptaculous changes the position property of drop targets. This triggers the IE bug. Ironically, the line in Scriptaculous that triggers this bug has this comment: "fix IE".
The fix for this bug is either use quirks mode or set the position of the scrolling div to relative. See:
http://mt-olympus.com/emmett/bug_overflow_positionrelative.php
http://rowanw.com/bugs/overflow_relative.htm
These fixes work with the simple stripped down test case, but they don't seem to work with the original test case with more complicated layout.
To work around this, add the following style properties to treeContainer:
height:330px; overflow:auto; position:relative
See the attached ScreenHunter_01.jpg for the diff.; see ScreenHunter_02.jpg for the result.
The important thing is to make the tree container height not greater than the divider panel height, so that the tree container scroll bar appears instead of the divider panel scroll bar. Remember to include the padding in the height calculation.
Test Case intended for deployment on Tomcat 6.