ringcentral-js-widgets
ringcentral-js-widgets copied to clipboard
Text input does not work well when using IME
When updating Controlled Input Component using IME asynchronously (via proxy), the value of input will be in a mess.
There are two possible solutions:
- Use Composition Event to handle IME input event (the drawback is that Composition Event behaves differently across different browsers)
- Turn Controlled Input into Self-Controlled Input and combining the onFocus and onBlur event to control the props receiving process. (easier to implement)
Related with #840