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

[Button] 如何组合Tooltip使用 #2215

Closed
xmsz-stu opened this issue Apr 30, 2024 · 3 comments
Closed

[Button] 如何组合Tooltip使用 #2215

xmsz-stu opened this issue Apr 30, 2024 · 3 comments
Labels
feature request Request new feature

Comments

@xmsz-stu
Copy link

Which Component Need Enhancement 期望新增功能的组件

  • Button

What does the proposed API look like 期望支持的API

组合Tooltip使用

Feature Description 功能描述

有些场景下,单从按钮文字看不懂功能,所以需要Tooltip的提示,但是我加在ButtonGroup里的话,会失去theme的效果
image

Additional information 补充说明

@xmsz-stu xmsz-stu added the feature request Request new feature label Apr 30, 2024
@DaiQiangReal
Copy link
Collaborator

可以放置一个 问号的 icon 显示tooltip,或者给文本本身加一下 tooltip

@pointhalo
Copy link
Collaborator

我们设计上并不推荐这种交互。
更建议给 ButtonGroup内的单个button 放置 问号 icon,tooltip仅当hover icon时出现,而不是整个button都是交互热区。

@xmsz-stu
Copy link
Author

我们设计上并不推荐这种交互。 更建议给 ButtonGroup内的单个button 放置 问号 icon,tooltip仅当hover icon时出现,而不是整个button都是交互热区。

好吧 我们是有问号icon的,但是很多用户根本不会去触碰它,所以一般都是偷懒直接整个区域来触发

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request new feature
Projects
None yet
Development

No branches or pull requests

3 participants