We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
body
padding-right
position:fixed;
绝对定位
上面的存在理由其实就是建议方案的一部分了。
onStart:开始滚动回调 onUpdate:滚动中回调 onEnd:结束滚动回调 top:滚动距离,可以通过设置像素指定滚动条的位置 smooth:滚动条是否有平滑滚动的效果 animation: 与top配合,表示是否有缓动动画,或者线性动画的过度。
The content you are editing has changed. Please copy your edits and refresh the page.
同类产品issues ant-design/ant-design#45433 arco-design/arco-design#2265
The text was updated successfully, but these errors were encountered:
👋 @kwooshung,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
No branches or pull requests
这个功能解决了什么问题
存在理由
body
进行padding-right
,特别当导航条有position:fixed;
的时候还需要对其进行特别处理,而且会产生晃动,如下图;绝对定位
,避免fixed引起的各种莫名Bug;你建议的方案是什么
上面的存在理由其实就是建议方案的一部分了。
设计难点和涉及到的其他组件问题
API设计
onStart:开始滚动回调
onUpdate:滚动中回调
onEnd:结束滚动回调
top:滚动距离,可以通过设置像素指定滚动条的位置
smooth:滚动条是否有平滑滚动的效果
animation: 与top配合,表示是否有缓动动画,或者线性动画的过度。
Tasks
The text was updated successfully, but these errors were encountered: