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

[bug] Looking up a deactivated widget's ancestor is unsafe. #2

Open
AlaaEldeenYsr opened this issue Aug 28, 2022 · 2 comments
Open

Comments

@AlaaEldeenYsr
Copy link

AlaaEldeenYsr commented Aug 28, 2022

when I go back from my screen that exception fires Looking up a deactivated widget's ancestor is unsafe.
The issue happens on the disposing state, try to dispose the screen somehow and you will catch the exception in the console

@AlaaEldeenYsr
Copy link
Author

the bug is coming from that part, when I commented it every thing worked well.
image

@Finni123
Copy link

For me, the line that causes this is line #434 in nested_inner_scroll_coordinator.dart. Commenting out this line fixes the problem, but it doesn't seem like a good solution since the inner scroll position isn't being detached any more.

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

No branches or pull requests

2 participants