roda icon indicating copy to clipboard operation
roda copied to clipboard

Don't change the page height when a list is loading

Open chalkos opened this issue 5 years ago • 0 comments

When a list has results and we paginate or search, the list is cleared and then filled with the new search results. This causes a kind of flicker in the page as its height adjustes and is pulled and pushed by the list updating its contents.

Fix: Before updating the list, check its height, use it as min-height, get the results and update the list content, remove min-height.

With the fix, the page is resized only once, instead of shrinking and then growing in fractions of a second.

chalkos avatar Nov 22 '18 18:11 chalkos