Skip to content

IE11 resets value of textarea when a placeholder is used #6984

@frontendphil

Description

@frontendphil

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
When you create a textarea with value and placeholder set and click into it using IE11 the value is reset to empty string.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar.
https://jsfiddle.net/xu26gt71/2/

What is the expected behavior?
The value of the textarea stays the same and the cursor is placed at the clicked position.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

  • React 15.0.1
  • IE 11
  • Windows 8
  • It did work in earlier versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions