gpt4 book ai didi

I am interested in how i can implement in react.js a smoother scrolling behavior(我感兴趣的是如何在react.js中实现更流畅的滚动行为)

翻译 作者:bug小助手 更新时间:2023-10-26 21:54:28 25 4
gpt4 key购买 nike



The scrolling behavior that i am looking for it seems smoother and heavier. It feels that it makes more effort for the scrollbar to reach its destination adding a small delay for the beginning and ending of the scrolling (ease in-out effect). A good example of the type of scrolling i am looking for can be viewed in this page...
https://igorterekhov.com/en/about

我正在寻找的滚动行为似乎更流畅和沉重。它感觉滚动条更努力地到达它的目的地,为滚动的开始和结束增加了一点延迟(缓入-缓出效果)。我正在寻找的滚动类型的一个很好的例子可以在这个页面上查看…Https://igorterekhov.com/en/about


I tried with react-scroll-motion library but its a totally different thing, as well as CSS scroll behavior and so on...

我试着使用了反应-滚动-动作库,但它是完全不同的东西,以及CSS滚动行为等等……


更多回答

Take a look at the Intersection Observer API and react-intersection-observer

请看一看交集观察者API和Reaction-Interval-Viewer

优秀答案推荐
更多回答

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com