[regression] Modal is re-rendered before destroy
Opened this issue · 1 comments
nkalinov commented
This change introduced a significant change of the behavior which caused a lot of bugs in our apps after the update.
Before that change the modal was being destroyed right after @redux-modal/HIDE
but BEFORE trying to render.
After that change, it will first render without the props that were passed on opening and destroy only after that.
That requires a lot of changes in all our modals to handle the missing props so we'll stick to @^3 for now.
Not sure what would be the best fix here but I'm open to discuss and implement it if you have ideas.
anatoliykot commented
The same for me. Downgraded from 4.0.0 to 3.0.2