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

onTimer event causes a cascader to close its next level items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 10.0.0, 9.6.4
    • 9.6.3
    • 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.zul
          0.9 kB
        2. zk-5414.js
          0.5 kB

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

              Created:
              Updated:
              Resolved: