In https://www.drupal.org/project/bs_lib/issues/3325962 🐛 ScrollTo behavior does not take into account the Fixed elements setting if not on the frontpage Fixed we removed jQuery from anchor-scroll.js. In scroll-to-top.js we are using simple jQuery methods which we ca easily replace with vanilla JS.
Even the call
$root.animate({ scrollTop: 0 }, $this.data('duration'), $this.data('easing'));
Can now be replaced with vanilla JS scroll call because all browsers support now behavior option so we can use smooth parameter for this:
- https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll
- https://caniuse.com/css-scroll-behavior
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.