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

刷新北海页面出现问题 #1422

Open
Poker-J opened this issue May 31, 2022 · 5 comments
Open

刷新北海页面出现问题 #1422

Poker-J opened this issue May 31, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Poker-J
Copy link

Poker-J commented May 31, 2022

使用的 Kraken 版本 | What version of kraken are you using

kraken: 0.10.2+1

重现步骤 | Steps To Reproduce

'package:flutter/src/widgets/framework.dart': Failed assertion: line 3820 pos 12: '_lifecycleState == _ElementLifecycle.active': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md

重现代码 | Code example:

预期结果 | Expected results:

实际结果 | Actual results:

@Poker-J Poker-J added the bug Something isn't working label May 31, 2022
@answershuto
Copy link
Member

用了 custom element 吗?什么情况下会出现,看起来是 Flutter Element 的断言错误

@Poker-J
Copy link
Author

Poker-J commented Jun 1, 2022

你是用flutter 给北海定义的组件吗

@Poker-J
Copy link
Author

Poker-J commented Jun 1, 2022

我给你模拟给场景 比如首页tab页面下全是北海页面 然后跳转到登陆页面 登录成功之后调用路由那个清除路由并跳转到首页 就会出现这个错误

@Poker-J
Copy link
Author

Poker-J commented Jun 1, 2022

排查了下 我们flutter给北海定义了一个轮播图组件 导致了这个错误 这种轮播组件定义是否需要什么特殊的写法?

@xuzhongpeng
Copy link
Member

@Poker-J 能否提供一个最小复现demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants