-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.0, 6.5.5, 7.0.1, 6.5.6
-
Security Level: Jimmy
Click on the button repeatedly and the tree would scroll horizontally back and forth.
test.zul
<zk> <div width="300px" vflex="min"> <tree id="tree" hflex="1" vflex="min"> <treecols sizable="true"> <treecol hflex="min" label="Name" /> </treecols> <treechildren> <treeitem> <treerow> <treecell label="Item with very long labels - 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789" /> </treerow> <treechildren> <treeitem> <treerow> <treecell label="Item 2.1" /> </treerow> <treechildren> <treeitem> <treerow> <treecell label="Item 2.1.1" /> </treerow> </treeitem> <treeitem> <treerow> <treecell label="Item 2.1.2" /> </treerow> </treeitem> </treechildren> </treeitem> <treeitem id="apa"> <treerow> <treecell label="Item 2.2" /> </treerow> <treechildren> <treeitem> <treerow> <treecell label="Item 2.2.1" /> </treerow> </treeitem> </treechildren> </treeitem> </treechildren> </treeitem> <treeitem label="Item 3" /> </treechildren> </tree> </div> <button onClick="Clients.scrollIntoView(apa)" label="Push me" /> </zk>
- relates to
-
ZK-1924 Clients.scrollIntoView(Component comp) could also adjust horizontal scroll position
- Closed