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

ROD Listbox scroll offset

XMLWordPrintable

      Steps to Reproduce

      run the attached example it will update the listmodel every 2 seconds by appending an item
      Continuously change the scroll position
      Depending on timing the listbox sometimes shows a blank area.

      This recording https://www.screencast.com/t/DlcP35nobja shows the problem after 0:45

      Actual Result

      the scroll position gets out of sync with the top padding

      Expected Result

      correctly updating visible area according to the scroll position

      Debug Info

      usually the 3 events onScrollPos, onDataLoading, onTopPad are sent in a single request to the server in order to update the currently visible area.

      Somehow the onTimer event affects the event sequence and those 3 events get sent in separate requests.
      If onTimer event-listener updates the model (e.g. appending an item) this sometimes leads to incorrectly calculated ROD offset and topPad values.

            DevChu DevChu
            cor3000 cor3000
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d