daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: v3 focus and active on a menu item don't play nice together

Open johnslemmer opened this issue 2 years ago • 1 comments

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.

image

What browsers are you seeing the problem on?

Chrome

Reproduction URL (optional)

No response

johnslemmer avatar Jun 01 '23 22:06 johnslemmer

Looks like a duplicate of https://github.com/saadeghi/daisyui/issues/1868 filed slightly earlier which has a few workarounds discussed.

Andrew67 avatar Jun 02 '23 04:06 Andrew67

Fixed

saadeghi avatar Jun 20 '23 22:06 saadeghi

I'm having these same issues as well Screenshot 2023-11-27 at 12 01 14 PM

victornasar avatar Nov 27 '23 20:11 victornasar