Skip to content

active on table tr doesn't work in v5 #3323

Closed Answered by saadeghi
kuchta asked this question in Q&A
Discussion options

You must be logged in to vote

active class name was deprecated after daisyUI 3 (last year). And it was removed from docs since last year, in favor of using any bg-* class instead.
I didn't remove it immediately in daisyUI 4 (last year) because of backward compatibility.

Basically in daisyUI 3, the style was more complicated and we couldn't simply use bg-* class names.
It got simpler in daisyUI 4 (last year release), so instead of a new class name, we can just use bg-base-200 to get the same result (or any other color)

v4 docs: https://daisyui.com/components/table/#table-with-an-active-row
v5 docs: https://v5.daisyui.com/components/table/#table-with-an-active-row

Let me know if you have a question.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kuchta
Comment options

Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants