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

dialog_toast短暂提示信息是否支持弹窗期间收到按键行为自动退出 #869

Open
Pclumsy0540 opened this issue Feb 26, 2024 · 6 comments

Comments

@Pclumsy0540
Copy link

请问dialog_toast这种类型的,有属性支持在弹窗显示的期间如果收到按键动作然后自动退出当前弹窗吗

@xianjimli
Copy link
Member

目前不支持。任意按键还是特定按键?请描述一下详细的需求

@Pclumsy0540
Copy link
Author

目前是希望任意按键,当然实现可以开放指定按键的方式,拓展性更强

@Pclumsy0540
Copy link
Author

描述一下场景:例如通话的时候,通话结束进行一个号码、名称、通话结束原因的提示,用户此时能做的操作其实比较少,就只能等提示结束,那么弹窗的销毁目前是根据设置的弹窗时间来执行的,那有的客户不太想看或者说可以看一下,按个按键就可以退出当前的弹窗,将这种时间的控制交给用户,体验上的一个提升

@xianjimli
Copy link
Member

好的,谢谢,我先想想。

@xianjimli
Copy link
Member

增加了按任意键退出,你有空更新试试,谢谢。

@Pclumsy0540
Copy link
Author

增加了按任意键退出,你有空更新试试,谢谢。

好的,请问这个更新是在主分支吗?

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

No branches or pull requests

2 participants