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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved:

                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