Skip to content

<textarea> triggers hydration error on whitespace #11873

@danielroe

Description

@danielroe

Vue version

3.5.3

Link to minimal reproduction

https://play.vuejs.org/#__SSR__eNp9kD0PgjAQhv8KudngoJMxJmocdFCjjl0InoiWtmmvSEL477YlIINhfD/u8tzVsFYqLi3CApaEheIJ4YqJKHKqokRj0qrpQHrRN2ECZFIpHnkWv4wUblHtJxikslA5R31SlEthGCyikPgs4Vx+DsEjbXHS+ekT0/cf/2Uq7zE4azSoS2TQZw4rQ2rj3fXoOAdhIe+Wu/ZIeEEjufWMbW1jxd1hD3qBdl8oqSkX2c3sKkJhuqM8qG82oc/AfXM7cvoPdxbPwxwTDTRf2rKAuw==

Steps to reproduce

Use SSR to render:

<template>
  <textarea>
  </textarea>
</template>

What is expected?

No hydration mismatches

What is actually happening?

Hydration text content mismatch on[object HTMLTextAreaElement]
  - rendered on server:   
  - expected on client: 

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions