Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

可以在tabs添加滑动功能吗 #3094

Closed
index-xiao opened this issue Jun 13, 2022 · 3 comments
Closed

可以在tabs添加滑动功能吗 #3094

index-xiao opened this issue Jun 13, 2022 · 3 comments
Labels
feature request New feature or request

Comments

@index-xiao
Copy link

This function solves the problem (这个功能解决的问题)

当type=‘card’时,多个panel无法展示完,点击某个panel或者使用api选中时,可以自动定位且滑动到该panel。可以的话将prefix与suffix插槽默认做成按钮形式,点击后可以滑动到最前或最后,类似elementui的tabs那样

Expected API (期望的 API)

默认插槽 弄成按钮,点击后自动滑动
prefix
suffix

@github-actions github-actions bot added the feature request New feature or request label Jun 13, 2022
@07akioni
Copy link
Collaborator

按钮的这个问题考虑过,在没找到合适的 UI 呈现方式前应该暂时不会加

感觉箭头有点丑

@07akioni
Copy link
Collaborator

之前考虑过,如果一定要处理这个问题的话,更加倾向于 antd 的处理方式

image

@07akioni
Copy link
Collaborator

后续可以在 #2128 讨论

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants