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

close all tree node doesn't work as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 9.6.0.1
    • Fix Version/s: 9.6.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:

      Description

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

        Attachments

        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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: