-
Notifications
You must be signed in to change notification settings - Fork 49
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
Scenes freezing when quickly switching routes with transitions #267
Comments
Hi, can you check if the latest commit(ce4f316) of |
It works fine, thanks :) e.mp4 |
The current implementation requires the transition to be fully played, so this will require some internal reworking. |
@Tlaster 我也出现了这样的问题,且我用的是1.6.0-rc02 我的需求是,先跳转到页面A,然后退出页面A时,继续跳转到页面B
目前的情况是,可以正确跳转到pageB,但是过渡动画会消失,并且pageB的viewModel中会请求接口获取数据,但
中的任何代码都不会执行。 |
经过测试,如果在两次跳转中间增加一个延迟,目前大概延迟500ms后,可以正常运行 |
@Matcha-xiaobin 你说的 |
@Matcha-xiaobin 麻烦传一个git repo,文件下载提示有病毒 |
https://github.com/Matcha-xiaobin/precompose_bug_sample 用的Mac OS自带的 压缩功能压缩的,居然会爆毒,挺离谱。 |
@Tlaster 我上传到git的代码,已经是加了delay了 |
测试在 313ce55 commit之后会被修复,下一个版本(1.6.0-rc03)会包含这个修复 |
The issue of scenes freezing when quickly switching routes still persists in version 1.6.0-beta02, possibly due to animation-related issues.
Example:
When using with the default animation, after 1 to 3 transitions, it will stop navigating and remain frozen indefinitely, while all interactions except routing work normally, and any route changes will not affect the actual content.
After modifying the transitions:
Then it works great.
The text was updated successfully, but these errors were encountered: