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

FlipView setState is called after dispose #1

Closed
shaxxx opened this issue Jun 28, 2019 · 1 comment
Closed

FlipView setState is called after dispose #1

shaxxx opened this issue Jun 28, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@shaxxx
Copy link
Contributor

shaxxx commented Jun 28, 2019

In certain conditions FlipView causes exception

setState() called after dispose()

which is thrown two times when I flip the card.
Details in the screenshot
1

In my case AnimateList has multiple flip items, being rebuild multiple times.
Sometimes items are build as flipviews, sometimes not.
Exception occurs when Flipview is removed from view.

When this.mounted check is applied no exception is thrown.
Thanks for the widget!

@shaxxx shaxxx mentioned this issue Jun 28, 2019
@WosLovesLife
Copy link
Owner

Thank you for your report and I've reviewed your RP, It's nice. I'll merge it and later release a new version

@WosLovesLife WosLovesLife added the bug Something isn't working label Jun 30, 2019
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

2 participants