dillon1000/react

Commit

[react-float] feature detect getRootNode (#25689)

Some old environments like IE11 or very old versions of jsdom are
missing `getRootNode()`. Use feature detection to fall back to
`ownerDocuments` in these environments that also won't be supporting
shadow DOM anyway.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom-bindings/src/client/ReactDOMFloatClient.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…