nilupul14
nilupul14
This CSS style works for me. No need to use refs and it's worked for the latest version(of 5.2.1v) as well. const stylesWidth = { control: css => ({ ...css,...
> @mde-pach @garyee > > Stopped by to leave a working codesandbox example. Hope this is helpful. https://codesandbox.io/s/react-select-longest-option-width-geunu?file=/src/App.js This is not working in react-select 3.0.1v higher. 
**This CSS style works for me. No need to use refs and it's worked for the latest version(of 5.2.1v) as well.** const stylesWidth = { control: css => ({ ...css,...