Clusterize.js icon indicating copy to clipboard operation
Clusterize.js copied to clipboard

Keep scroll position when adding new rows

Open jjmaceda opened this issue 5 years ago • 0 comments

Hi, I wonder if is possible, cause at least is not working for me, to keep the scroll position when adding new rows to the data?

Basically I'm adding and removing elements from the array am using to update clusterized, so when

_orders.unshift('<li>new data</li>');
clusterized.update(_orders);

if am let say in the middle of the list, the list gets pushed down because of the new element, the problem is that in my use case I can be interacting with a row at that moment and the row gets pushed down

thanks for any help!

jjmaceda avatar Sep 13 '19 22:09 jjmaceda