Skip to content

Conversation

ziogaschr
Copy link

Under some conditions in React, it might be that the parent hasn't been added in DOM yet. In this case, instead of failing, we can use the document.body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant