fix(ActionSheet): 页面跳转返回后再点击不显示问题 - #3796
Merged
Merged
Conversation
Boomkaa
requested review from
anlyyao,
betavs,
jarmywang and
jin0209
as code owners
July 22, 2025 02:48
Contributor
|
Size Change: +27 B (+0.01%) Total Size: 188 kB
ℹ️ View Unchanged
|
commit: |
jarmywang
reviewed
Jul 28, 2025
jarmywang
reviewed
Jul 28, 2025
jarmywang
approved these changes
Jul 28, 2025
Merged
16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 这个 PR 的性质是?
🔗 相关 Issue
#3567
#1219
#2798
💡 需求背景和解决方案
需求背景:在 A 页面点击 ActionSheet 选项跳转到 B 页面,返回 A 页面后,安卓设备上点击 ActionSheet 无响应。以及偶现Toast已隐藏,但是页面无法点击。测试中发现ActionSheet和Toast的overlay未正常消失,导致后续点击失效。主要原因中是在动画执行过程中,transitionend 事件绑定的onTransitionEnd 方法偶现未触发。
解决方案:增加兜底逻辑,确保动画结束后 overlay必然消失。
📝 更新日志
fix(actionsheet): 页面跳转返回后再点击不显示问题
fix(toast):修复toast已隐藏,页面无法点击问题
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单