ringcentral-js-widgets icon indicating copy to clipboard operation
ringcentral-js-widgets copied to clipboard

Text input does not work well when using IME

Open ele828 opened this issue 7 years ago • 1 comments

When updating Controlled Input Component using IME asynchronously (via proxy), the value of input will be in a mess.

There are two possible solutions:

  1. Use Composition Event to handle IME input event (the drawback is that Composition Event behaves differently across different browsers)
  2. Turn Controlled Input into Self-Controlled Input and combining the onFocus and onBlur event to control the props receiving process. (easier to implement)

ele828 avatar May 29 '18 03:05 ele828

Related with #840

embbnux avatar Jul 09 '18 03:07 embbnux