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

tree - avoid scroll timeout/delay to improve user experience

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.0
    • Freshly, 9.5.1.1, 9.6.0
    • Components
    • Security Level: Jimmy
    • None

      the current tree has a hard coded delay of 300ms before updating the scroll position (and rendering new tree items) in case new tree items are loaded.
      This delay is either wasting time (if the server responds fast), or causing problems under higher latency as shown in ZK-4834.

      The current implementation even waits for 300 when there is no network activity involved. The rendering on demand is delayed for no apparent reason in this case.

      A more robust way to synchronize the scroll position avoiding unnecessary delays would be preferable.

      The attached example reduces the delay, which improves the UX, but also makes the issues from ZK-4834 happen more often.

      Ideally there is no forced delay, and the tree items render as early as possible.

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d