bricklayer
bricklayer copied to clipboard
keep scroll position on resize
I use bricklayer for a very long feed of social media posts and as soon as bricklayer needs to recalculate the columns (resize or change the orientation) it jumps to the top of the page, which is very bad for the user experience. It would be nice to include an option to prevent this and stay at the last scrollposition on resize/orientation change.
We need to calculate which element is close to the top scroll position, store it and rescroll to it after redraw.
I'm going to think about it.