angulargrid
angulargrid copied to clipboard
Infinite Scroll Calculation Wrong when Resizing Browser Window
If the browser window is resized to be a very thin width, and then resized to be a bigger width quickly, the calculate page info function calculates too quickly, and the new scrollHeight remains too large. It should wait for the animations and DOM to update the container height, but instead it gets the height in the middle of the transition. This causes Infinite scroll to stop being called, until the browser window is re-sized again.
Any ideas how to wait for the re-flow animations to complete?
I'm trying to modify the code to fix this.