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
This is due to how render doesn't append new dom anymore if it's being rendered already, also this.props.children is not always an array. I had a go at fixing it by doing some workaround like:
In my components that use Portal (modals), I append a new container for each instance which I provide to the Portal too. And remove that container on unmount.
This is due to how render doesn't append new dom anymore if it's being rendered already, also this.props.children is not always an array. I had a go at fixing it by doing some workaround like:
But then I don't know Preact well enough to render directly into that remote, render will render inside the div only. Not the current behaviour.
The text was updated successfully, but these errors were encountered: