Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

react-select "closeMenuOnSelect={false}" problems

select 3.1.1 and im trying to add a basic isMulti check list and I don't want it to close after each chooses so I added the

closeMenuOnSelect={false}

but it's not working on localhost:3000 every time. (only when I'm in the incognito mode it's working). it's not working on regular google and on firefox. so I tried to deploy and also on phone its not working. hope for help or a smart bypass with the isOpen function maybe. thanks.

<Select
    closeMenuOnSelect={false}
    components={animatedComponents}
    isMulti
    options={colourOptions}
    hideSelectedOptions={true}
    backspaceRemovesValue={true}
/>
like image 764
Ethanolle Avatar asked Feb 15 '26 15:02

Ethanolle


1 Answers

blurInputOnSelect={false} Thats the Magic line that should add.

like image 124
Ethanolle Avatar answered Feb 18 '26 03:02

Ethanolle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!