[1.0.0] SSR mismatch with b-popover and b-modal
See original GitHub issueVueJS 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:
- Created 6 years ago
- Comments:33 (19 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the reports. It should be fixed in v1.0.1 now 😃
@JamieLottering Try changing your
plugins/bootstrap.js
file to the following (to use the fully compiled esm file):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