if you have a page with a list of items, and the user scrolls down the list, and then you change the list of items to be shorter, the viewport will not change, if the user scrolls upwards nothing will happen, and then about 3 seconds later the viewport will whip them up to the top and resize itself. Workaround
when you do something that changes the length of the document scrollTop(0) or calculate where the new bottom is and scrollTop to it. The viewport still goes blank (even if you have fixed position items, they go out of the viewport)?
Loading comments…
Comments