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 of the textarea will only show up after focus and blur #125

Closed
kukikiloke opened this issue Nov 21, 2016 · 4 comments
Closed

Comments

@kukikiloke
Copy link

The textarea does not display the placeholder on initial load. However if you focus on the textarea and blur it (e.g. click outside the textarea) the placeholder will appear.

Code snippet:

<Textarea
	value={this.state.commentDraft}
	placeholder="Write a comment..."
	style={{ fontSize: 'small', maxHeight: '250px', resize: 'none' }}
	onChange={e => this.setState({ commentDraft: e.target.value })} />

OS: Windows 10
Browser: IE 11

@backyardcoder
Copy link

+1 ^ Any resolutions for this?

@MoGray
Copy link

MoGray commented Mar 11, 2017

Are you guys on an updated version of React? This library has absolutely nothing to do with the placeholder text not showing up.

This was a React issue with IE 11. It was patched May 24th facebook/react#6406 .

@Andarist
Copy link
Owner

If that was React's fault and it got fixed then I'm gonna close this issue.

@johnmeng24
Copy link

upgrade react-dom version at least 15.4.2

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

5 participants