fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

SearchBox does not implement onInput

Open r33kan opened this issue 9 years ago • 2 comments

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

r33kan avatar Apr 21 '17 13:04 r33kan

@mdahamiwal could you make the same change to SearchBox?

dzearing avatar Apr 21 '17 19:04 dzearing

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.

satbai avatar Apr 21 '17 23:04 satbai