dillon1000/react
Commit
Browse files Fix ReactDOMSelection for IE 11
IE 11 no longer supports the legacy document.selection API. Their implementation of window.getSelection() doesn't support the extend() method, which we were relying on. If the selection is RTL and selection extend is missing, then just flip the selection.
Changed paths1 file
First-parent comparisonsrc/core/ReactDOMSelection.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…