Open EricPHassey opened 3 years ago
Not something else, the entire widget is removed from the widget tree.
Thanks for the prompt feedback. Any idea how to check for that or what may be occuring? Only does it when it switches from mobile to desktop. So something seems like it's being disposed and no longer having that state/context.
@EricPHassey That is what's happening. The entire widget is being removed from the tree. That's how it works. What you're expecting is happening, is happening but that's by choice. WE don't want bot layouts alive if one is not needed so it's removed from the tree completely.
Getting this error when switching between mobile and desktop. Also using the Stacked viewmodel package. Seems like when I change the layout something else is being removed.