dillon1000/react
Commit
Browse files Check for null selection
getRangeAt(0) will throw on null selection. Add guard in ReactDOMSelection and DocumentSelection.
Changed paths1 file
First-parent comparisonsrc/core/ReactDOMSelection.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…