Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3925

notification message affects panel size after maximize

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.5.1.2
    • Fix Version/s: 8.5.2
    • Component/s: ZK Client Engine
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.5.2 S1, ZK 8.5.2 S2

      Description

      Steps to Reproduce

      http://zkfiddle.org/sample/2758urn/1-panel-size-after-notification-with-maximize

      1. un-maximize the window
      2. click the button
      3. while the notification is visible maximize the panel
      4. 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

        Issue Links

          Activity

          Hide
          JamesChu JamesChu added a comment -

          Fixed since 2018/06/22

          Show
          JamesChu JamesChu added a comment - Fixed since 2018/06/22

            People

            • Assignee:
              klyvechen klyvechen
              Reporter:
              cor3000 cor3000
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Agile