question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report] VDataTable header - Mismatching childNodes vs. VNodes

See original GitHub issue

Versions and Environment

Vuetify: 2.0.0-beta.1 Last working version: 1.5.14 Vue: 2.6.10 Browsers: Chrome 74.0.3729.169 OS: Mac OS 10.13.6

Steps to reproduce

yarn dev

View http://localhost:3000/datatable via SSR.

Expected Behavior

<thead> should contain 6 <th>

Actual Behavior

<thead> has 1 <th colspan="6"> with combobox for mobile. You see this flash before the browser is then able to build the 6 <th>.

Console errors:

vendors.app.js:214 warn Parent:  <th colspan=​"6">​…​</th>​<div class=​"v-data-table-header-mobile__wrapper">​…​</div>​</th>​

vendors.app.js:214 warn Mismatching childNodes vs. VNodes:  NodeList [div.v-data-table-header-mobile__wrapper]0: div.v-data-table-header-mobile__wrapperlength: 1__proto__: NodeList [VNode]

[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

Reproduction Link

https://github.com/csheppard/nuxt-vuetify-2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:18
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

10reactions
chanlitocommented, Jul 24, 2019

I’m facing same issue here.

2reactions
tvldcommented, Jun 19, 2020

Same here… For me the issue came after upgrading from 2.2 to vuetify@2.3.1 So I am certain there is some regression since 2.3.0. I also managed to have a work-around by wrapping to make sure no ssr:

<client-only>
    <v-data-table  ...
</client-only>
Read more comments on GitHub >

github_iconTop Results From Across the Web

How can i change label "Sort by" in Vuetify's data table?
it gives me vue warn and Mismatching ChildNodes vs VNodes console errors. and it only shows on mobile view. i know it's just...
Read more >
[Bug Report] The Latest (v4.0.1) FixedColumns Extension ...
Hi, I think there's a bug introduced by the latest version of ... bootstrap4 theme "superhero" for the HTML page and put a...
Read more >
Nuxtjs Mismatching childnodes vs. vnodes - YouTube
Solving issue with nuxtjs mismatching childnodes vs. nodes. This is a quick fix for v-if with nuxt-link. If you are having trouble using ......
Read more >
Diff - chromium/src - Google Git
-52,6 +52,7 @@ 'frame-title', 'heading-order', 'hidden-content', ... This can be removed once the bug is -// addressed, and usage should be ...
Read more >
Falcon Sandbox v9.0.2 © Hybrid Analysis
This report is generated from a file or URL submitted to this webservice on March ... Sends traffic on typical HTTP outbound port,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found