Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
frontendphil opened this issue Jun 7, 2016 · 5 comments
Closed

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

frontendphil opened this issue Jun 7, 2016 · 5 comments

Comments

@frontendphil
Copy link

frontendphil commented Jun 7, 2016

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
@syranide
Copy link
Contributor

syranide commented Jun 7, 2016

cc @jquense

Hmm, probably cc @spicyj @jimfb too. Is this related to the new renderer or value-logic perhaps?

@jquense
Copy link
Contributor

jquense commented Jun 7, 2016

I can dbl check though I don't think its event plugin related as this case is something i've tested and specifically tried to address :P I could have missed a case I suppose.

@syranide
Copy link
Contributor

syranide commented Jun 7, 2016

@jquense Me neither, but thought you'd might be interested :)

@jquense
Copy link
Contributor

jquense commented Jun 7, 2016

I am :P intrigued really ;)

@frontendphil
Copy link
Author

FYI: Also just tested with 15.1.0 and see the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants