Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep scroll position on resize #25

Open
kilianso opened this issue Dec 7, 2016 · 1 comment
Open

keep scroll position on resize #25

kilianso opened this issue Dec 7, 2016 · 1 comment

Comments

@kilianso
Copy link

kilianso commented Dec 7, 2016

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.

@f
Copy link
Collaborator

f commented Dec 30, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants