Skip to content

[Bug Report][3.7.2] v-data-table data-table-expand header title missing in mobile display mode #20545

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

Closed
khgreav opened this issue Oct 2, 2024 · 3 comments · Fixed by #21218
Assignees
Labels
C: VDataTable S: stale This issue is untriaged and hasn't seen any activity in at least six months. S: triage

Comments

@khgreav
Copy link

khgreav commented Oct 2, 2024

Environment

Vuetify Version: 3.7.2
Vue Version: 3.5.10
Browsers: Firefox 130.0
OS: Linux

Steps to reproduce

  1. Add data-table-expand header with title
  2. Set display mode to mobile

Expected Behavior

Column (header) title is visible, expand button is aligned to end by default

Actual Behavior

Column (header) title is missing, expand button is centered

Reproduction Link

https://play.vuetifyjs.com/#...

@github-actions github-actions bot added the S: stale This issue is untriaged and hasn't seen any activity in at least six months. label Apr 5, 2025
@jcjp
Copy link
Contributor

jcjp commented Apr 5, 2025

I looked into to your reproduction link, and I could see the header title and the expansion button on the center. Do you have a screenshot or a video of the issue that you experience?

@khgreav
Copy link
Author

khgreav commented Apr 5, 2025

@jcjp Hi, thanks for taking the time. The column headers are visible, the issue is specifically with the data-table-expand slot and column when a datatable is displayed in mobile mode, as the other columns do have their titles, and the display data aligned to left and right respectively.

May be a design choice, and I can achieve the same behavior by adding another column, instead of using the data-table-expand column. If that behavior is intended, this issue can be closed.

Since I had to go back and check how the data-table-expand column behaves, I noticed that the size/styling of the expand button in this example from docs breaks with mobile display, so there may be some clashing styles.

Normal:

Image

Mobile display:

Image

@jcjp jcjp self-assigned this Apr 5, 2025
@jcjp
Copy link
Contributor

jcjp commented Apr 5, 2025

Hi @khgreav yes this is by design, and thank you for pointing out an issue with an example with the docs, definitely we need to check that part and create a bug accordingly. As for this one I will close it now thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDataTable S: stale This issue is untriaged and hasn't seen any activity in at least six months. S: triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants