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

Use scrollIntoView when paging, fixes #562 #563

Closed
wants to merge 1 commit into from

Conversation

tswfi
Copy link
Contributor

@tswfi tswfi commented Nov 20, 2023

Questions Answers
Description? Instead of doing scrollTo(0,0) use scrollIntoView to get the section#products start to be visible.
Type? bug fix && improvement
BC breaks? no
Deprecations? no
Fixed ticket? Fixes #562
Sponsor company
How to test? See issue for steps for trying to replicate the original issue with firefox

WIP, still requires a css rule

Instead of doing scrollTo(0,0) use scrollIntoView to get the `section#products` start to be visible.

WIP, still requires a css rule
@tswfi
Copy link
Contributor Author

tswfi commented Nov 21, 2023

as noted by @Hlavtox here #562 (comment) the scrolling is not nice when choosing facets and after testing I agree.

Closing this as this requires a bit more thought on how to make this really nice.

@tswfi tswfi closed this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Really strange scrolling issue when paging with firefox
3 participants