VDataTable doesn't allow the ability to override the tbody
element
#17451
Unanswered
craigrileyuk
asked this question in
Ideas
Replies: 1 comment
-
I have the same issue, currently I am not able to animate the table content, which is not ideal... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
vuetify/packages/vuetify/src/labs/VDataTable/VDataTable.tsx
Lines 216 to 224 in 0c47292
Previously, the way to implement something like table row animation was to replace the
tbody
HTML element with atransition-group
. However, thebody
slot is nested insidetbody
and thetbody
slot renders after the original tbody.Given that
VDataTableHeaders
isn't exported, there's no way to re-implement the table functionality easily with the default slot either.Ideally, the default content for the
body
slot should encompass thetbody
tag as well.Beta Was this translation helpful? Give feedback.
All reactions