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

setOpen() should not change open state of an invisible bandbox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 8.6.0
    • 8.5.2.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S2

    Description

      Steps to Reproduce

      <bandbox id="box2" visible="false">
      <bandpopup>
      pp
      </bandpopup>
      </bandbox>
      <button label="invisible but open" onClick='box2.setOpen(true);Clients.showNotification(box2.isOpen()+"")'/>
      2. click the button

      Current Result

      it shows true

      Expected Result

      it shows false

      Debug Information

      • in the comment of setOpen(), it said it "only works while visible", then it should not change _open before checking visible

      Attachments

        Issue Links

          Activity

            People

              rudyhuang rudyhuang
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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