Keystrokes are missed while typing in TextField control in IE11
Bug Report
- Package version(s): 15.4.0
- Browser and OS versions: Internet explorer 11
Describe the issue:
Keystrokes are missed in TextField control while typing in IE11.
Actual behavior:
Keystrokes are missed while typing.
Expected behavior:
Keystrokes should not be missed.
If applicable, please provide a codepen repro:
http://codepen.io/anon/pen/ggbWGr (Try it on IE11)
Its one of the known issue with React + IE11 if onChange is bind to a debounced delegate. In case of TextField, we use onChange internally to bind validation handler with 200ms of default delay. We miss the keystrokes during validation execution. I could fix this using onInput instead of onChange. Check this codepen.
Thanks manish for the update. The fix that you did in office fabric layer worked. Is there any database where we can search all such known issues as we spent considerable time in discovering this issue.
@nipunja, its not exactly a fabric issue but an issue with React + IE11 combo. You can refer to https://github.com/facebook/react/issues/7027 for details. This seems to be fixed but will be released only with React 16 which will take some time. For now using onInput seems the only way to get around it. @mikewheaton, can we take this change IE11 fix ?
@mdahamiwal it seems reasonable to me.
Thanks @mdahamiwal for quickly fixing the issue.