-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.1.2
-
Security Level: Jimmy
-
None
-
ZK 8.5.2 S1, ZK 8.5.2 S2
-
None
Steps to Reproduce
http://zkfiddle.org/sample/2758urn/1-panel-size-after-notification-with-maximize
- un-maximize the window
- click the button
- while the notification is visible maximize the panel
- after the notification disappeared un-maximize the panel
Current Result
the panel remains in its maximizes size (doesn't go back to 200x200)
Expected Result
panel size or 200x200 gets restored
Debug Info
the appended script gives additional debug information
<panel id="wnd" title="View" height="200px" width="200px" maximizable="true" maximized="true" closable="true" sizable="true" movable="true" floatable="true" border="rounded"> <panelchildren> <button label="Click" style="float:right;" onClick='Clients.showNotification("Hello", "info", wnd, "middle_center", 1000);' /> <iframe width="100%" /> </panelchildren> </panel> <script type="text/javascript" defer="true"> var iframe = jq('iframe')[0]; iframe.contentWindow.onresize = function() { console.log(jq(iframe).width()); }; </script>
Root Cause
Workaround
- relates to
-
ZK-3924 stuck notification message
- Closed