tabulator icon indicating copy to clipboard operation
tabulator copied to clipboard

ProgressiveLoad scroll jumping

Open karpiq24 opened this issue 2 years ago • 3 comments

Describe the bug When using progressive loading with remote data, table scroll jumps back to start of the table instead of continuing with scrolling flow.

Tabulator Info 5.4.4 I tried older versions and this issue is happening from version 5.3.0+

Working Example https://jsfiddle.net/b4wgy7m6/2/

To Reproduce Scroll table to load more data

Expected behavior User is seeing same rows as before, can scroll further down

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser Chrome and Firefox
  • Version newset

karpiq24 avatar Apr 24 '23 10:04 karpiq24

Hello,

Using version 5.4, faced this issue, in my cace this was due to "last_page" count value passed from back end (PHP script), had set this to be same as page size, corrected this by calculating page size by counting total rows , if rows more than page size, then divide by page size to get page count. Eg. page size = 20, total rows 70, 70 divide by 20 = 3.5, roud off to 4., "last_page" = 4

technofreakz avatar May 22 '23 11:05 technofreakz

In my case I solved it by setting a fixed height to the table

matteo-azzolini avatar Jul 09 '24 09:07 matteo-azzolini