davidtheclark / davidtheclark/react-aria-modal

React 16.9+ failures: `initialFocus` refers to no known node

Open
#96 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
94
PR merge metrics
No merged PRs in 30d

Description

I've run into issues when updating to latest React where that error is thrown, primarily in test environments. It appears like we're checking for the `initialFocus` before it has rendered though when I run `debug()` in `react-testing-library`.

Working on getting a minimal reproduction case.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.