我不是在谈论锚点滚动,我发现了一些插件,但它们都被弃用了/没有用。有谁知道任何适用于最新 Angular 的滚动插件,像这样:https://locomotivemtl.github.io/locomotive-scroll/
您可以使用 MDN Docs
scroll-behavior: smooth;