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
Problem: When the <Portal> component is the root component in another component, then the transition is not applied when it is rendered. Here's representational code:
Problem: When the
<Portal>
component is the root component in another component, then the transition is not applied when it is rendered. Here's representational code:Expected: When the modal is mounted, then I expect it to transition in and transition out when unmounted.
Actual: No transition is applied when the component is mounted/unmounted.
I found that by moving the
<Portal>
out of the component, the transitions starts working. But I wouldn't want to have this much repeated code.Reproduction: I made a Codepen with the not working transition. The working example is commented out as well.
Any help is appreciated!
The text was updated successfully, but these errors were encountered: