dillon1000/react

Commit

Check for null selection

getRangeAt(0) will throw on null selection. Add guard in
ReactDOMSelection and DocumentSelection.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactDOMSelection.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…