-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: ssr
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
linzhe141
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: ssr