Open CHADREX opened 2 years ago
What issues are you facing for this code?
What issues are you facing for this code?
It's about smooth scrolling after clicking on anchor links
Seems, there is no issue with the smooth scrolling. If I delete that code, the smooth scroll will not work. So we need to keep that code to enable smooth scrolling. It's a feature of the plugin.
Thanks
Right, smooth scrolling won't work if it's not enabled in the browser. I'm personally more comfortable with this option.
Yes, you need to enable smooth scrolling from the browser settings. If you disable it from the browser, it will not work. And we need that code using the browser's smooth scrolling feature. If we delete that code, you will not be able to use the smooth scrolling feature even with enabling it from the browser.
Thanks
Um... Why would I want smooth scrolling if I forced it off in my browser (for example)...
Anyway, smooth scrolling breaks the smooth transition to anchor links
Once again, please remove unnecessary code, especially from the bootstrap)
The solution to the problem, delete the line \wp-content\plugins\eazydocs\assets\vendors\bootstrap\bootstrap.min.css
@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}
Or forcibly use the parameter
auto