i am using react-select library and got the problem as below.
When i click on the option, the option color is changing, i would keep the color and do not change. Even after that i try to click again the selected option which is selected before, the color is change to blue, it is strange.
Please refer the code in the sanbox
https://codesandbox.io/s/peaceful-edison-kn2wuz?file=/src/index.js:1083-1089