While using FireFox the scroll into view with 'smooth' behavior acts weird. Feels like it interrupts itself when scroll is invoked more then once. While on other browsers, namely chromium or chrome it performs the action as expected.
|
sections[counter].scrollIntoView({ behavior: 'auto' }); // switch to smooth for animation |
Potential things to look at would be disabling unwanted features from FireFox. Or implement a custom scroll animation.
While using FireFox the scroll into view with 'smooth' behavior acts weird. Feels like it interrupts itself when scroll is invoked more then once. While on other browsers, namely chromium or chrome it performs the action as expected.
Portfolio/src/custom_animations/custom_scrolling/customScrolling.js
Line 17 in 3ab1e80
Potential things to look at would be disabling unwanted features from FireFox. Or implement a custom scroll animation.