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

Stability of scroll position, when changing the width #6

Open
tacruc opened this issue Oct 8, 2020 · 4 comments
Open

Stability of scroll position, when changing the width #6

tacruc opened this issue Oct 8, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@tacruc
Copy link

tacruc commented Oct 8, 2020

First oft all thanks for the lib. I just tried it in the demo page and noticed. That if I rotate my phone, from vertical to horizontal I do not see a single picture I have Seen before.
E.g. scrolling to section header 4 and rotating I had to scroll quite a bit to be back at the header.

If it is possible I think it would be nice if the top left picture would stay in the top left field shown when changing the width. For languages which are read from right to legt I think it should be the top right picture which stays stable in the screen.

@Mikescops Mikescops added the enhancement New feature or request label Oct 8, 2020
@Mikescops
Copy link
Owner

Hello,
Thanks for reporting this. It's interesting indeed, not sure how i can do this but I will try to solve this for sure.

@Mikescops Mikescops changed the title Stability oft scol position, when changing the width. Stability of scroll position, when changing the width Oct 8, 2020
@Mikescops
Copy link
Owner

I made a few tests earlier today, and i could not find a proper solution as of now without degrading performances.

@tacruc
Copy link
Author

tacruc commented Oct 8, 2020

So then lets keep the performant way for now.

@MentalGear
Copy link

Indeed, when changing page window width, items are drawn upwards or downwards. It's just a nuance, but of course if the would stay centered, that would be a nice bonus.

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

No branches or pull requests

3 participants