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

Window fire unexpected onMaximize event

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.8
    • Fix Version/s: 5.0.9
    • Component/s: None
    • Labels:
      None

      Description

      as code below, window fire 'onMaximize' event while button clicked.

      <zk>
             <label id="lb" value="nothing happened" />
             <window id="win" title="test win" minimizable="true" closable="true" maximizable="true" maximized="true">
                     <attribute name="onMaximize">
                             lb.setValue("oops, test win maximized!");
                     </attribute>
                     <attribute name="onCreate">
                             win.setMaximizable(false);
                     </attribute>
             </window>
             <button label="set test win maximizable" onClick="win.setMaximizable(true);" />
      </zk>
      

        Attachments

          Activity

            People

            • Assignee:
              benbai benbai
              Reporter:
              jimmyshiau jimmyshiau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h