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.

[1.0.0] SSR mismatch with b-popover and b-modal

See original GitHub issue

VueJS version: 2.5.3 Bootstrap-vue version: 1.0.0

<b-popover /> and <b-modal /> are causing mismatch errors when rendered server side. They both appear to be inserting an extra text node with empty content.

Here’s an example of an error generated when including the following in a template that is rendered server side: <b-popover><p>Hello World</p></b-popover> Screenshot of error generated above

And then here is an example that is caused by the following server rendered content: <b-modal visible><p>Hello World</p></b-modal> Screenshot of modal err

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:33 (19 by maintainers)

github_iconTop GitHub Comments

2reactions
pi0commented, Nov 7, 2017

Thanks for the reports. It should be fixed in v1.0.1 now 😃

1reaction
tmorehousecommented, Nov 7, 2017

@JamieLottering Try changing your plugins/bootstrap.js file to the following (to use the fully compiled esm file):

import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue/dist/bootstrap-vue.esm'

Vue.use(BootstrapVue)

I think there will need to be a few tweaks to the new es builds, or vue-loader config requirements to compile the .vue files properly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases - Radix UI
Popover. 1.0.0Major. [Breaking] Remove allowPinchZoom prop, now defaults to true – #1514 ... Resolve value mismatch with underlying native select – #1421 ...
Read more >
(Vue+Express) Server side rendering failed because of ...
However, after I tried to bundle vue locally by vite, I got the hydration mismatch error: index.0977acf5.js:2980 Hydration completed but ...
Read more >
bootstrap-vue/CHANGELOG.md - UNPKG
94, - **v-b-modal:** ensure trigger element is keyboard accessible if not a link or button, for A11Y ... 1361, - **table:** fix SSR...
Read more >
node_modules/bootstrap-vue/CHANGELOG.md - GitLab
... b-modal: delay initially open modal via nextTick when using v-model or visible prop (#3320 6f3010a) ... table: fix SSR mismatch errors (#2897)...
Read more >
react-bootstrap | Yarn - Package Manager
0 (2022-12-07). Bug Fixes. Dropdown: fic missing .show class on dropdown toggle when active (#6508 (eaa4bb9); Modal: fix modal ...
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