dillon1000/react

Commit

Set value using attribute only on initial option render

Tested that you can now type in the middle of a controlled input in Chrome which previously jumped your cursor to the end.

Fixes #6445.
Browse files
Changed paths5 files
First-parent comparison
M src/renderers/dom/client/wrappers/ReactDOMOption.js ModifiedM src/renderers/dom/client/wrappers/__tests__/ReactDOMOption-test.js ModifiedM src/renderers/dom/shared/DOMPropertyOperations.js ModifiedM src/renderers/dom/shared/ReactDOMComponent.js ModifiedM src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…