dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactDOMSelection.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…