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

尝试增加拦截机制以修复返回动画执行中多次响应返回键的问题 #296

Closed
wants to merge 2 commits into from

Conversation

Matcha-xiaobin
Copy link

@Matcha-xiaobin Matcha-xiaobin commented Apr 2, 2024

尝试增加一个拦截机制,以修复 #293 当返回动画正在执行中时,不响应这期间内触发的返回事件;
升级jetbrains compose plugin 1.6.0 -> 1.6.1;

NavHost.kt: 尝试增加一个拦截机制,当返回动画正在执行中时,不响应这期间的返回事件;
@Tlaster
Copy link
Owner

Tlaster commented Apr 2, 2024

我不太希望这样处理,我在 #288 里面也有提到另一种case,我希望不管从任何方向导航都可以work,而不是通过阻止导航完成。

@Matcha-xiaobin
Copy link
Author

哦,我也有看到那个issue,我以为跟我这个问题无关。
我也是觉得直接这样粗暴的阻止导航在体验上差了点,不过确实可以简单的解决我遇到的这个问题。
既然要更优的解决这个问题,那我就先关掉这个单了。
大佬辛苦了!

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

Successfully merging this pull request may close these issues.

2 participants