Closed MakhouT closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
The issue has been closed for inactivity.
TLDR: https://streamable.com/w4aqeu After discussing with @guyca , we agreed upon creating an issue with as many details as possible as we currently don't know where this issue is coming from exactly.
I will also try to reproduce this in the playground app.
To give a bit more context about the components I have: I have an app with this layout:
Then every screen is wrapped with an
HOC
, where I am rendering a selfmadeFAB
. Which when pressing that button, an overlay is being shown and we are displaying the options of thatFAB
. In terms of code it looks something like this (stripped a lot of unneeded details)So as you can see I am showing an overlay when pressing on the FAB (1) and when pressing an option I am dissmising the overlay and opening a modal (2).
This opens up a modal where I need to create an item in my app.
To open a model, we've written a wrapper around it that also contains a
sidemenu
. It looks like this:So the
modal
contains asidemenu
which has the drawer component, which looks pretty simple likeSo the modal opens up I fill in a form. To complete my form I need to select an item from something like a 'treeview' component. So in my form I press a button which just opens up my
sidemenu
in themodal
, I select my item then press the save button(which is a right button of thesidemenu
). This closes thesidemenu
back to the form.Now
form
in themodal
is completely filled in. Then I press the save button which is a right button of the model. My item is saved (and mymodal
is still open, as this is expected) But now I press theFAB
again and select to create a new item again. This will open a newmodal
and close the previous one. Repeat this process 6+ this in a row, then there will be this warning and then error:I was able to capture the last part just before the crash: https://streamable.com/w4aqeu
From our side we have been debugging this around 2 weeks now in our codebase and we can't find the issue. So this is our last resort at the moment, because we can't find how this is happening currently...
I will try to recreate this issue in the playground app in the meantime. Also another point to note out, is that we had this issue at least since
4.6
- I just upgraded to6.4
to check if this issue was by any chance fixed.Environment