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

[popupconfirm] 建议添加鼠标hover的时候就展示出来的能力 #2351

Closed
2513483494 opened this issue Jul 8, 2023 · 6 comments
Closed

Comments

@2513483494
Copy link
Contributor

这个功能解决了什么问题

建议添加鼠标hover的时候就展示出来的能力,目前的话似乎只能通过点击的方式触发,但是如果有场景需要hover的时候触发就不行了。

你建议的方案是什么

建议添加鼠标hover的时候就展示出来的能力

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2023

👋 @2513483494,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@chaishi
Copy link
Collaborator

chaishi commented Jul 8, 2023

<Popconfirm trigger="hover" content={'确认删除订单吗'} cancelBtn={null}>
        <Button theme="primary">删除订单</Button>
      </Popconfirm>

试了下,确实无效

@2513483494
Copy link
Contributor Author

<Popconfirm trigger="hover" content={'确认删除订单吗'} cancelBtn={null}>
        <Button theme="primary">删除订单</Button>
      </Popconfirm>

试了下,确实无效

是的,感觉这个功能挺实用的,如果可以的话,希望可以添加这个能力

@chaishi
Copy link
Collaborator

chaishi commented Jul 12, 2023

Popup 支持 hover,是否有兴趣尝试一下 提一个 PR 支持这个特性

@Ali-ovo
Copy link
Contributor

Ali-ovo commented Jul 13, 2023

我来吧

Ali-ovo added a commit to Ali-ovo/tdesign-react that referenced this issue Jul 13, 2023
@HaixingOoO
Copy link
Collaborator

@2513483494 解决方案:#2366 (comment)

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

Successfully merging a pull request may close this issue.

4 participants