onTimer event causes a cascader to close its next level items

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 10.0.0, 9.6.4
    • Affects Version/s: 9.6.3
    • Component/s: None
    • Security Level: Jimmy
    • None
    • None

      Steps to Reproduce

      1. run the zul
      2. open the cascader
      3. click an item in the first level to open the 2nd level items
      4. wait for onTimer even to be sent

      Current Result

      the cascader closes the 2nd-level items

      Expected Result

      the cascader keeps opening the 2nd-level items

      Debug Information

      In cascader.js

          onResponse: function onResponse() {
            if (this._redrawItemsFlag) {
              this._redrawItems();
      
              this._redrawItemsFlag = false;
            }
          },
      

      Workaround

      zk-5414.js

        1. zk-5414.js
          0.5 kB
          hawk
        2. zk-5414.zul
          0.9 kB
          hawk

            Assignee:
            gordonhsu
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: