-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.0, 6.0.3
-
None
-
IE8
-
None
Steps to reproduce:
- In IE8 open url: http://www.zkoss.org/zksandbox/;
- Execute the code below;
- Expand nodes until a scrollbar will appear;
- Scroll down as shown at step1.png;
- Switch to tab2;
- Switch back to tab1;
Bug: The scroll bar is in initial state as shown at step2.png instead of being at the bottom.
Code to reproduce bug
<tabbox width="400px" height="400px"> <tabs> <tab label="Tab 1" closable="true"/> <tab label="Tab 2" closable="true"/> </tabs> <tabpanels> <tabpanel style="position: relative; overflow: auto;"> <zscript> import org.zkoss.zksandbox.tree.BinaryTreeModel; BinaryTreeModel btm = new BinaryTreeModel(new ArrayList(new org.zkoss.zksandbox.BigList(1000))); </zscript> <tree id="tree" model="${btm}"/> </tabpanel> <tabpanel>Close this panel</tabpanel> </tabpanels> </tabbox>
- relates to
-
ZK-2388 Tabpanel's child widget will reset scroll position when switching tab (IE only)
- Closed