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

close all tree node doesn't work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.1
    • 9.6.0.1
    • None
    • Security Level: Jimmy
    • None

      Main Steps to Reproduce

      1. click "expand" to open all tree nodes
      2. scroll down to the node 50
      3. click "collapse" to close all tree nodes
      4. scroll down to the last node

      Alternative Steps to reproduce

      1. scroll down to the last node
      2. click "expand" to open all tree nodes
      3. click "collapse" to close all tree nodes
      4. scroll down to the last node

      Current Result

      the last several nodes' children node still exist , since node 96 (the node icon shows it's closed but children nodes are not removed)

      Expected Result

      all children nodes removed

      Debug Information

      • if I don't do step 2 of main steps, the bug doesn't happen.
      • calling tree.invalidate() even produces an expected blank space, cannot be a workaround:

      Workaround

      <custom-attributes org.zkoss.zul.client.rod="false"/>

        1. blankspace.jpg
          blankspace.jpg
          6 kB
        2. ScrollViewComposer.java
          2 kB
        3. treenode.jpg
          treenode.jpg
          9 kB
        4. zk-5042.zul
          0.4 kB

            jumperchen jumperchen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: