New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toggle switch UI not showing properly. #1360
Labels
📚 documentation
Improvements or additions to documentation
Comments
Do u mean "its NOT working properly" maybe? 😄 |
nice catch😉 |
now it seems working fine. |
Still broken in the docs tho. |
Also broken if you use them in your project |
I just mentioned into this issue #1321 (comment) A temporary fix for me : export const customThemeToggleSwitch: CustomFlowbiteTheme['toggleSwitch'] = {
toggle: {
base: "after:rounded-full rounded-full border group-focus:ring-4 group-focus:ring-cyan-500/25",
checked: {
on: "after:bg-white after:translate-x-full",
off: "after:bg-gray-400 dark:after:bg-gray-500 border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700",
},
},
}; This solution might help others facing similar problems. |
Also broken for me. |
#1397 - you can close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on latest version 8.0 the toggle switch button is not working; properly.
https://flowbite-react.com/docs/components/forms#toggle-switch
The text was updated successfully, but these errors were encountered: