Skip to content

<textarea> triggers hydration error on whitespace #11873

Closed

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

Activity

  1. added
    🐞 bug
    on Sep 10, 2024
  2. locked and limited conversation to collaborators on Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugscope: ssr

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions