hc-oss / react-multi-select-component

Lightweight (~5KB gzipped) multiple selection dropdown component
https://codesandbox.io/s/react-multi-select-example-uqtgs
MIT License
385 stars 87 forks source link

Add Dark Mode Support #727

Open pythonnelson opened 1 month ago

pythonnelson commented 1 month ago

Hello,

First, I want to thank you for your work on the react-multi-select-component package. It has been incredibly useful for my Next.js project. However, I have encountered an issue with dark mode support.

Current Behavior:
Currently, the react-multi-select-component package does not seem to support dark mode. When switching to dark mode, the component's UI does not adapt accordingly, leading to poor user experience due to mismatched colors and readability issues.

Expected Behavior:
It would be great if the component could automatically adapt to dark mode based on the parent theme or if there were props or configuration options available to easily style the component for dark mode.

Additional Context:

Proposed Solution:

Thank you for considering this request. Dark mode has become an essential feature for many applications, and support for it would greatly enhance the usability of this package.

Best regards,
Isaac NSB Kargbo

yukendhiran commented 3 weeks ago

Yeah I tought its problem with daisyUI, I also Experiencing the same, Other multi select component wrapped in thier own state, so I can not controll it with formik, like I cant conditionaly reset, but with this react-multi-select-component, I can able to control the state via formik, but it doesnot follow daisy ui, Did you find the work around?