Replies: 2 comments 4 replies
-
|
I'm pretty sure the fact that you have it inside of an |
Beta Was this translation helpful? Give feedback.
-
|
Widgets were never meant to be remounted. Once you have unmounted a widget, you should discard it. You can changes a widget's position, and you can temporarily hide it. But you will need a fresh instance if you have unmounted it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like removing a widget doesn't set the
is_mountedproperty toFalseand doesn't reset_mounted_event. Below is an example where the assertion fails.The practical consequence is that the subsequent
await mountreturns immediately and potentially before the widget is remounted.Beta Was this translation helpful? Give feedback.
All reactions