-
Notifications
You must be signed in to change notification settings - Fork 173
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
Reordering when widget is rebuilding crashes #155
Comments
The Flutter build-in ReorderableListView works - there are less controls available, but I no longer get any errors. I'd still like to use Reorderables though if this issue can be fixed. |
same issue here. Flow:
Issue
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using a ReorderableColumn. One of the widgets is a file upload component. On file save, the widget displays a circular progress indicator. If I drag the widget with the animation active, there are several errors. This is due to the widget being unmounted during drag.
Error: setState() called after dispose(): _FilePickerWidgetState#174b4(lifecycle state: defunct, not mounted)
Is it possible that the widget stays mounted, and there is only a visual animation of drag? Once the index's are available of the drag position we can swap the widgets. I also have move up/move down buttons, and these do not cause any issues.
The text was updated successfully, but these errors were encountered: