-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.8, 8.5.0, 9.1.0
-
Security Level: Jimmy
-
ZK 9.5.1 S1
Steps to Reproduce
open a popup with (type toggle) and close it by clicking the button again.
https://zkfiddle.org/sample/34ft7km/1-Toggle-Popup-not-closing-simplified
<zk> <button label="Button (toggle popup with onOpen)" popup="examplePopup, type=toggle"/> <button label="Button (toggle popup without onOpen)" popup="examplePopup2, type=toggle"/> <popup id="examplePopup" onOpen=""> <label value="example popup"/> </popup> <popup id="examplePopup2"> <label value="example popup"/> </popup> </zk>
Current Result
a popup with an onOpen-listener reopens immediately after clicking
(closes on mouse-down and reopens again on mouse-up)
Expected Result
possibility to toggle close a popup (and handle onOpen events)
Debug Information
some more information provided in the forum
https://forum.zkoss.org/question/112509/toggle-popup-not-closing/
Workaround
- relates to
-
ZK-2007 Popup support toggle type
- Closed