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

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

    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="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

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