你好!
我在学习过程中看到了 ScrollSmoother,并且在官方示例中随意测试了插件。
当我在页面中异步添加dom的时候,页面正常显示新添加dom。
只有当浏览器调整大小的时候,在添加之前的dom会渲染。
我不知道这是一个问题,或者一些配置选项是可以处理这种情况的。
Hi!
I saw ScrollSmoother while I was learning, and randomly tested the plugin in the official example.
When I add DOM asynchronously to the page, the page displays the newly added DOM normally.
Only when the browser is resized, the dom before adding it will render.
I don't know if this is a problem, or if some configuration options are there to handle this.
[Google Translation]