Skip to content

Do not fail parentNode is unmounted #6

@okonet

Description

@okonet

If the container node got unmounted when the check

https://github.com/okonet/react-simple-focus-within/blob/853d04494ec4ee28140f3c53fd580d9b8de0d7f6/src/FocusWithin.js#L132

will lead to a TypeError Cannot read property 'contains' of null

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions