version 1.1.0. When click right arrow open dropdown list , it can't close through click not select area.
See original GitHub issue`import ‘react-select/dist/react-select.min.css’;
import React, { PureComponent } from ‘react’;
import Select from ‘react-select’; import autoBind from ‘react-autobind’; import classNames from ‘classnames/bind’;
const loadOptions = [ { value: 1, label: ‘john test1’ }, { value: 2, label: ‘john test2’ }, ];
class CustomSelect extends PureComponent { constructor() { super(); autoBind(this); this.state = { selectedProduct: 1 } }
handleProductChanged(value) { this.setState({ selectedProduct: value }) }
render() { return ( <div style={{width: 200}}> <Select value={this.state.selectedProduct} simpleValue onChange={this.handleProductChanged} options={loadOptions} /> </div> ); } }
export default CustomSelect;`
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top GitHub Comments
so, any idea when this release will be coming?
@Kerumen so it seems we are waiting for fix @JedWatson