Open
Description
Vue version
3.5.12
Link to minimal reproduction
Steps to reproduce
- open link
- (ssr true)
- hydration mismactch
What is expected?
no mismatch
What is actually happening?
[Vue warn]: Hydration style mismatch on <div style="display: none;"> test
-
rendered on server: style="display:flex;"
-
expected on client: style="display:flex;"
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
You should fix the source of the mismatch.
at -
rendered on server: style="display:flex;"
-
expected on client: style="display:flex;"
is actually not a mismatch :)
System Info
-
Any additional comments?
i think this should not be a mismatch. v-show
with display="style:xxx"
should render the same on server and client