Automated response: 5574: Pagination loading issue (not jumping to top after click)
window.scrollTo and smooth_scroll sometimes would not scroll if they were called before the DOM was ready. In the instance of pagination, this meant after clicking on a number and the results loaded, the page would sometimes not scroll up to the top of the results.
I added a 25 millisecond timeout to most scroll calls where I thought it is possible the DOM is not yet ready. This seems to have done the trick for pagination. Hopefully it also resolves the same issue on the upgrader screen where it lists the progress of transferring over files.
window.scrollTo and smooth_scroll sometimes would not scroll if they were called before the DOM was ready. In the instance of pagination, this meant after clicking on a number and the results loaded, the page would sometimes not scroll up to the top of the results.
I added a 25 millisecond timeout to most scroll calls where I thought it is possible the DOM is not yet ready. This seems to have done the trick for pagination. Hopefully it also resolves the same issue on the upgrader screen where it lists the progress of transferring over files.