You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I comment out the exit prop. The modal will close properly but with an added delay due to the child's exit animation. Looking to set the exit value to prevent a lengthy delay while waiting for this child animation to end.
The following sand box will show that you can open the modal by clicking the add challenge button. Then close or click outside the modal. The modal will animate out but will not be removed ie, backdrop will remain.
Setup a Modal within a component that is added to the DOM through a state value.
The child with a staggered animation looks like.
When I comment out the
exit
prop. The modal will close properly but with an added delay due to the child's exit animation. Looking to set theexit
value to prevent a lengthy delay while waiting for this child animation to end.The following sand box will show that you can open the modal by clicking the
add challenge
button. Then close or click outside the modal. The modal will animate out but will not be removed ie, backdrop will remain.sandbox: https://codesandbox.io/p/sandbox/r4vftd
The text was updated successfully, but these errors were encountered: