Workaround fix for react-select rerender bug

https://github.com/JedWatson/react-select/issues/2277
This commit is contained in:
Wanfung Lee 2018-07-05 23:31:32 -07:00 committed by GitHub
parent 10abf7a270
commit 30371a42bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,7 @@ class SelectMany extends React.Component {
isLoading={this.state.isLoading}
onMenuScrollToBottom={this.handleBottomScroll}
onInputChange={this.handleInputChange}
onSelectResetsInput={false}
multi
value={
isNull(value) || isUndefined(value) || value.size === 0