-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[TextField] fix click and type simultaneously. #3055
Conversation
@@ -467,7 +468,6 @@ const TextField = React.createClass({ | |||
htmlFor={inputId} | |||
shrink={this.state.hasValue || this.state.isFocused} | |||
disabled={disabled} | |||
onTouchTap={this.focus} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was introduced by #2228.
Is the browser support of pointerEvents
enough to remove this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't recreate #2228 on Chrome for windows with this fix applied.
I'm wondering if this won't solve other opened issues related to the the focus of the input field. |
@chrismcv Hey, why did you close your PR? |
whoops! was having a cleanup on my fork and got rid of that by mistake |
@oliviertassinari @alitaheri Are we waiting on anything before merging this? |
I'm not sure - I tried to recreate the issue from the original PR, but couldn't. |
[TextField] fix click and type simultaneously.
@chrismcv I wasn't able to reproduce the issue. But it's should be safe to apply this change 👍. |
#3045 fixed