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

[Toast] 组件希望提供duration 0秒 #1221

Closed
kiter opened this issue Jan 25, 2024 · 3 comments · Fixed by #1656
Closed

[Toast] 组件希望提供duration 0秒 #1221

kiter opened this issue Jan 25, 2024 · 3 comments · Fixed by #1656
Labels
enhancement New feature or request issueshoot 代码共建平台 middle 中等问题

Comments

@kiter
Copy link

kiter commented Jan 25, 2024

这个功能解决了什么问题

解决需要长时间等待后台服务或者其它服务的依赖,再手动调用toast.clear 来关闭这个提示。

你建议的方案是什么

duration 改为0秒,现在传超长时间也会有问题。

IssueShoot

  • 预估时长: 3
  • 期望完成时间: 2024-11-26 00:00:00 +0000 UTC
  • 开发难度: 中
  • 参与人数: 1
  • 需求对接人: anlyyao
  • 验收标准: 实现期望改造效果,提 PR 并通过验收无误
  • 备注: 最终激励以实际提交 pull request 并合并为准
Copy link
Contributor

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

@anlyyao
Copy link
Collaborator

anlyyao commented Nov 19, 2024

方案:优化 durantion 属性, 表示弹窗显示毫秒数长,值为 0 表示永久显示。

@anlyyao anlyyao added enhancement New feature or request middle 中等问题 issueshoot 代码共建平台 labels Nov 19, 2024
@novlan1
Copy link
Contributor

novlan1 commented Nov 27, 2024

现在已经是了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request issueshoot 代码共建平台 middle 中等问题
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants