bricklayer icon indicating copy to clipboard operation
bricklayer copied to clipboard

keep scroll position on resize

Open kilianso opened this issue 9 years ago • 1 comments

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.

kilianso avatar Dec 07 '16 16:12 kilianso

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.

f avatar Dec 30 '16 05:12 f