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 Placeholder input attribute text not displaying. #13632

Closed
Visylvius opened this issue Sep 13, 2018 · 3 comments
Closed

IE11 Placeholder input attribute text not displaying. #13632

Visylvius opened this issue Sep 13, 2018 · 3 comments

Comments

@Visylvius
Copy link

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When IE11 loads an input the placeholder is blank, however if you click outside of the input the placeholder appears momentarily. As described here.
https://stackoverflow.com/questions/36893449/textarea-placeholder-isnt-shown-in-ie-11-being-rendered-using-react
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:

https://jsfiddle.net/69z2wepo/296677/ (has some problems running in ie11 in my virtualbox)
What is the expected behavior?
The input should display the placeholder attribute text in the input
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
It is currently affecting IE11.

@Visylvius
Copy link
Author

I saw that there was a fix for this around a year and a half ago. In this thread.
#6731

And was able to recreate it in spades.

Thank you guys so much for taking a gander.

@Visylvius Visylvius changed the title IE11 Placeholder text not displaying. IE11 Placeholder input attribute text not displaying. Sep 13, 2018
@gaearon
Copy link
Collaborator

gaearon commented Sep 13, 2018

Which versions of React do you have this problem with? Can you try different versions and report results?

@Visylvius
Copy link
Author

Visylvius commented Sep 13, 2018

Thanks for getting back to me so fast!

Just checked a few things, Its certainly not a regression bug.

The input was focused on initial load which is why the placeholder was blank.

My Apologies!

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

2 participants