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

open a bandbox but isOpen() still returns false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.5.2.1
    • Fix Version/s: 8.6.0
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.6.0 S2

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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