-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.4
-
Security Level: Jimmy
-
None
run the zul file:
open the initially collapsed navbar, and select a navitem
-> the navitems will align to the left (only happens the first time a navitem is selected)
<zk> <navbar orient="vertical" width="50px" collapsed="true"> <nav label="Get Started" iconSclass="z-icon-th-list"> <navitem label="One"/> <navitem label="Two"/> </nav> </navbar> </zk>
a (hard coded)workaround is to reset the x position of the nav in a client side listener
<zk xmlns:w="client"> <navbar orient="vertical" width="50px" collapsed="true"> <nav label="Get Started" iconSclass="z-icon-th-list" w:onOpen="this.$n('cave').style.left = '37px'"> <navitem label="One"/> <navitem label="Two"/> </nav> </navbar> </zk>
- relates to
-
ZK-2481 Navbar not visible if it is aligned right
- Closed