Skip to content
New issue

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

希望tabs的title支持sticky功能 #2297

Open
breath-co2 opened this issue May 18, 2023 · 2 comments
Open

希望tabs的title支持sticky功能 #2297

breath-co2 opened this issue May 18, 2023 · 2 comments
Labels
Feature Request 新功能请求 PR Welcome 已确认存在的问题,或者计划实现的功能,欢迎社区 PR

Comments

@breath-co2
Copy link

What problem does this feature solve?(这个功能解决的问题)

当一个长列表在下拉滚动时,tabs的title依旧可以固定显示在页面顶部,提供类似 position: sticky; top: 0; 的效果

What does the proposed API look like?(期望的 API)

增加Props 参数 :
sticky : true|false
stickyOffset: 0 距离顶部距离,默认0

@eiinu eiinu added the Feature Request 新功能请求 label May 18, 2023
@eiinu
Copy link
Member

eiinu commented Jul 21, 2023

v4.1.0
@nutui/nutui 已支持
@nutui/nutui-taro Taro 版本待完善

@eiinu eiinu added duplicate 重复的 Issue and removed duplicate 重复的 Issue labels Aug 9, 2023
@eiinu eiinu added the PR Welcome 已确认存在的问题,或者计划实现的功能,欢迎社区 PR label Nov 27, 2023
@eiinu eiinu added this to the v4.3.1 milestone Jan 26, 2024
@eiinu eiinu removed this from the v4.3.1 milestone Mar 12, 2024
@dlj0906
Copy link

dlj0906 commented Jul 31, 2024

@nutui/nutui-taro 还没支持吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request 新功能请求 PR Welcome 已确认存在的问题,或者计划实现的功能,欢迎社区 PR
Projects
None yet
Development

No branches or pull requests

3 participants