multiselect-react-dropdown
multiselect-react-dropdown copied to clipboard
Dropdown not closing after selection
Even if I set closeOnSelect={true} the dropdown doesn't close and the user needs to click outside the dropdown to close it.
This is my component
<Multiselect options={this.state.cities} // Options to display in the dropdown onSearch={this.onTextChanged} selectedValues={this.state.selectedCity} // Preselected value to persist in dropdown onSelect={(result) => this.props.onCitySelected(result[0])} // Function will trigger on select event onRemove={this.props.onCityRemoved} // Function will trigger on remove event displayValue="name" // Property name to display in the dropdown options placeholder="Digite o nome da cidade" emptyRecordMsg="Nenhuma cidade encontrada" hidePlaceholder={true} closeOnSelect={true} disablePreSelectedValues={false} selectionLimit={1} className={this.props.className} style={{chips: {background: '#F31755'}, ...this.props.style}} />
+1 to this issue
+1 to this issue !
@edu1525 @silsanchez @cameronnolley Any update on this?
+1 to this issue
Facing the same issue. Any update on the same.
closeOnSelect doesn't work
issue is still unresolved, any fix?
do we have any update on this ?