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

open a bandbox but isOpen() still returns false

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
    • None

      Steps to Reproduce

          <bandbox id="box">
              <bandpopup>
                  pp
              </bandpopup>
          </bandbox>
          <button label="open state" onClick='box.open();Clients.showNotification(box.isOpen()+"")'/>
      

      1. click the button to open the bandbox

      Current Result

      it shows false

      Expected Result

      it shows true

      Debug Information

      • open() doesn't change member field _open but setOpen() does which is inconsistent and confuses users.

            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 - 3 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                3h