roda
roda copied to clipboard
Don't change the page height when a list is loading
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.