fluentui
fluentui copied to clipboard
SearchBox does not implement onInput
Bug Report
- Package version(s): 2.21.0
- Browser and OS versions: IE11
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (No)
Requested priority: (Normal)
Products/sites affected: SearchBox
Describe the issue:
The input element in the SearchBox component still uses onChange instead of onInput (as TextField does #1077) resulting in missed keystrokes and warped input value when the app runs in IE11.
Actual behavior:
When typing "fast" keystrokes are missed due to change event handler
Expected behavior:
Input text value should be exactly as typed
@mdahamiwal could you make the same change to SearchBox?
I am experiencing the same issue but with all browsers instead of just IE11. Also, if you start typing fast it ignores all of the other key strokes but the last one.