You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bricklayer.redraw() is causing the page to scroll to the top. I was previously using masonry and didn't run across this issue. Is there a way to prevent this?
The text was updated successfully, but these errors were encountered:
Actually, yes. But we did not handle this. redraw calculates and repositions all the items, meanwhile removes all the content which reset scroll position. We should store scroll position just before redrawing, and when just after redraw, we should set the scrollTop position back.
bricklayer.redraw()
is causing the page to scroll to the top. I was previously using masonry and didn't run across this issue. Is there a way to prevent this?The text was updated successfully, but these errors were encountered: