Forgot to 'not' the pendingUpdate condition.
Sam Beveridge committed
Feb 12, 2016 at 14:32 UTC
385cadf8e390ced520c127043b698f8e5516047d
1 file changed
+1
-1
src/renderers/dom/client/wrappers/ReactDOMSelect.js
+1
-1
@@ -236,7 +236,7 @@ function _handleChange(event) {
236
var props = this._currentElement.props;
237
var returnValue = LinkedValueUtils.executeOnChange(props, event);
238
239
- if (this._rootNodeID && this._wrapperState.pendingUpdate) {
239
+ if (this._rootNodeID && !this._wrapperState.pendingUpdate) {
240
this._wrapperState.pendingUpdate = true;
241
}
242
ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);