daisyui
daisyui copied to clipboard
bug: v3 focus and active on a menu item don't play nice together
What version of daisyUI are you using?
3.0.0
Describe your issue
If you manually toggle state :focus on the active menu item on the daisy docs website this becomes apparent. The two classes don't mesh well together. I noticed this because my app keeps focus on my menu based sidebar when switching between pages. v2 didn't have this issue, I think it let active be the overriding class.
What browsers are you seeing the problem on?
Chrome
Reproduction URL (optional)
No response
Looks like a duplicate of https://github.com/saadeghi/daisyui/issues/1868 filed slightly earlier which has a few workarounds discussed.
Fixed
I'm having these same issues as well