dillon1000/react
Commit
Browse files Fix for issue/6027.
ReactDOMSelect's _handleChange function tries to set this._wrapperState.pendingUpdate = true after executing the onChange function. However, if the select was removed as a result of said fuction, this._wrapperState would be null. Resulting in an Uncaught TypeError: Cannot set property 'pendingUpdate' of null.
Changed paths2 files
First-parent comparisonsrc/renderers/dom/client/wrappers/ReactDOMSelect.js ModifiedM src/renderers/dom/client/wrappers/__tests__/ReactDOMSelect-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…