Skip to content
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

[Bug Report][3.4.0] VDataTable uses an invalid rowspan. #18786

Closed
damyo opened this issue Nov 28, 2023 · 1 comment
Closed

[Bug Report][3.4.0] VDataTable uses an invalid rowspan. #18786

damyo opened this issue Nov 28, 2023 · 1 comment
Labels
duplicate The issue has already been reported

Comments

@damyo
Copy link

damyo commented Nov 28, 2023

Environment

Vuetify Version: 3.4.0
Vue Version: 3.3.4
Browsers: Chrome 119.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

  1. Define multiple headers (10 or more).
  2. Set up nested headers using children in the objects in headers.
  3. Place a mix of those with and without children.

Since we didn't use children inside children, headers should end up containing two rows.
However, there is an unknown third row.

My guess is that it has something to do with the priorityQueue in the composables/headers file.

if (item.priority > priority) {
  queue.splice(i, 0, {
    element,
    priority
  });
  added = true;
  break;
}

I could be wrong, but I believe this is what is causing the rows to be added.

Expected Behavior

A header consisting of two rows should be rendered.

Actual Behavior

A header with three rows is rendered.

Reproduction Link

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

@KaelWD
Copy link
Member

KaelWD commented Nov 28, 2023

Duplicate of #18679

@KaelWD KaelWD marked this as a duplicate of #18679 Nov 28, 2023
@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
@KaelWD KaelWD added the duplicate The issue has already been reported label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants