-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
Description
Describe the bug
When using keep-alive
in the QCarousel with SSR it results in an hydration error.
Example code:
<q-carousel
animated
:model-value="1"
arrows
navigation
infinite
keep-alive
style="width: 400px"
>
<q-carousel-slide :name="1" img-src="https://cdn.quasar.dev/img/mountains.jpg" />
<q-carousel-slide :name="2" img-src="https://cdn.quasar.dev/img/parallax1.jpg" />
<q-carousel-slide :name="3" img-src="https://cdn.quasar.dev/img/parallax2.jpg" />
<q-carousel-slide :name="4" img-src="https://cdn.quasar.dev/img/quasar.jpg" />
</q-carousel>
To Reproduce
Steps to reproduce the behavior:
- Create fresh starter project
- Add above code to
Index.vue
html. - Run quasar SSR mode
quasar dev -m ssr
- See error
Expected behavior
No hydration error
Platform (please complete the following information):
Quasar Version: v2.0.0-rc.3
@quasar/app Version: v3.0.0-rc.3
Quasar mode:
- SPA
- SSR
- PWA
- Electron
- Cordova
- Capacitor
- BEX
Tested on:
- SPA
- SSR
- PWA
- Electron
- Cordova
- Capacitor
- BEX
OS:
Node:
NPM:
Yarn:
Browsers:
iOS:
Android:
Electron:
Additional context
Add any other context about the problem here.