Description
Steps to Reproduce
<zk> <button label="show modal" onClick="showModal()"/> <zscript><![CDATA[ public void showModal(){ Window w = new Window(); w.setPage(page); w.appendChild(new Toolbarbutton("get focus")); Textbox box1 = new Textbox(); w.appendChild(box1); box1.setFocus(true); w.doModal(); } ]]></zscript> </zk>
1. click the button
2. check the focus
Current Result
the toolbarbutton gets the focus
Expected Result
the textbox gets the focus
Debug Information
- 9.5.0.3 doesn't have this bug
- no bug happens if:
- show the modal window at page creation
- replace a toolbarbutton with a button
Workaround
Attachments
Issue Links
- blocks
-
ZK-5252 a modal window doesn't focus on its first focusable child
-
- Closed
-