dillon1000/react
Commit
Browse files [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.
Changed paths1 file
First-parent comparisonpackages/react-dom-bindings/src/client/ReactDOMFloatClient.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…