-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Normal
-
None
-
Affects Version/s: 9.6.0, 10.2.0
-
Component/s: None
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
- Open the Nav2
- Click the collaspse nav button
Current Result
zk.wpd:31652 Uncaught Node is not found! Widget.$n_ @ zk.wpd:31652 Nav.close @ zkmax.nav.wpd:867 Nav.open @ zkmax.nav.wpd:905 Nav.setOpen @ zkmax.nav.wpd:850 doFn @ zkmax.nav.wpd:1586 Navitem._openNav @ zkmax.nav.wpd:1594 Navitem.bind_ @ zkmax.nav.wpd:1699 Widget.bindChildren_ @ zk.wpd:31910 Widget.bind_ @ zk.wpd:31872 bind_ @ zkmax.nav.wpd:295 Widget.bind_ @ zk.wpd:40103 Nav.bind_ @ zkmax.nav.wpd:1056 Widget.bindChildren_ @ zk.wpd:31910 Widget.bind_ @ zk.wpd:31872 bind_ @ zkmax.nav.wpd:295 Widget.bind_ @ zk.wpd:40103 Widget.bind @ zk.wpd:31801 Widget.replaceChildHTML_ @ zk.wpd:31506 Widget.replaceHTML @ zk.wpd:31385 Widget.rerender @ zk.wpd:31462 _rerender0 @ zk.wpd:29280
Expected Result
No error in the console log
Root cause
When collapsed is set to true, the navbar attempts to rerender itself. During re-rendering, autoclose is true, when opening a nav will closing other Nav widgets. But other Nav widgets don't have DOM elements yet ,$n() is null. So cause the js error.
Debug Information
Caused by the fix of ZK-4909