[Toast] preventScrollThrough为true时,偶现Toast已隐藏,但页面还是无法点击
tdesign-miniprogram 版本
0.30.0
重现链接
No response
重现步骤
代码:
exports.showLoading =()=>{
console.log('showLoading');
Toast({
selector: '#t-toast',
message: '加载中...',
theme: 'loading',
direction: 'column',
duration: 0,
preventScrollThrough:true,
});
}
exports.hideLoading =()=>{
console.log('hideLoading');
hideToast({
selector: '#t-toast',
});
}
正常操作

期望结果
去掉preventScrollThrough 正常

实际结果
添加preventScrollThrough后
loading 消失了,但是页面无法点击了
偶发,而且几率很高

框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
多个页面wxml存在
<t-toast id="t-toast" />
👋 @guoyw,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
♥️ 有劳 @leejim 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @guoyw 。
收到反馈,我来定位一下。
昨天遇到同样的问题了。
我这边没法复现,能否提供更多信息?
我这边没法复现,能否提供更多信息?
https://developers.weixin.qq.com/s/EKLiGDmh7kEG
我也遇到了同样的问题.出现频率很高.
2024年了,这个问题依旧存在😂
小程序版本,toast loading preventScrollThrough 作为加载交互是必须的,但不能点击的问题在网速较快时必现……
收到反馈,我这边跟进看看哈~
着实不好意思,旧的 issue 一直没时间去重新 check 处理 😭
@iamdaning 不是网速、、是因为overlay有个300ms的动画, settimeout duration也设置成300ms应该就正常了 😅