You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
I have found an issue when changing pages on a long list when there is a CSS property of scroll-behavior: smooth set. For example in Bootstraps _rebbot.scss they set:
This causes the page to jump to the top and scroll back to the bottom smoothly, but it is obviously not an ideal look. I have also made sure that overflow: hidden is set on the results container. Oddly enough it is worse when going to a higher page than when going to a lower page (gifs attached below). I have also notice that this is not an issue in Safari, only in Chrome and Firefox so far from my testing.
Page 1 to 2 scroll-behavior: smooth;
Page 2 to 1 scroll-behavior: smooth;
The fix I had to do was override that property with scroll-behavior: auto; in my own CSS.
Page 1 to 2 to 1 scroll-behavior: auto;
While doable, it was quite a headache to find, so hopefully something can be done within the plugin, especially since the Pagination plugin is a premium plugin.
Thanks for any other info or help here!
Rob
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have found an issue when changing pages on a long list when there is a CSS property of
scroll-behavior: smooth
set. For example in Bootstraps_rebbot.scss
they set:This causes the page to jump to the top and scroll back to the bottom smoothly, but it is obviously not an ideal look. I have also made sure that
overflow: hidden
is set on the results container. Oddly enough it is worse when going to a higher page than when going to a lower page (gifs attached below). I have also notice that this is not an issue in Safari, only in Chrome and Firefox so far from my testing.Page 1 to 2
scroll-behavior: smooth;
Page 2 to 1
scroll-behavior: smooth;
The fix I had to do was override that property with
scroll-behavior: auto;
in my own CSS.Page 1 to 2 to 1
scroll-behavior: auto;
While doable, it was quite a headache to find, so hopefully something can be done within the plugin, especially since the Pagination plugin is a premium plugin.
Thanks for any other info or help here!
Rob
The text was updated successfully, but these errors were encountered: