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

Using onInput on IE11 and onChange on all other browsers #4

Merged
merged 1 commit into from
May 25, 2017

Conversation

pts-izepeda
Copy link
Contributor

On IE11 when typing to fast the use of onChange makes that some letters are not showing, this is a know issue in react 15:

facebook/react#7027

The solution is using onInput instead of onChange, however onInput could make the input wont work correctly in other IE versions, so the actual solution was to check if the browser is IE11 then use onInput else use onChange

@pts-izepeda pts-izepeda merged commit 0a734fc into master May 25, 2017
@pts-izepeda pts-izepeda deleted the fix-ie11-onchange branch May 25, 2017 01:55
@moog16
Copy link
Contributor

moog16 commented May 25, 2017

Thanks looks good

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

Successfully merging this pull request may close these issues.

3 participants