Merge pull request #4339 from jungeonkim/develop

Fix Hangul typing does not work properly
This commit is contained in:
Bruno Windels 2020-04-03 11:52:53 +00:00 committed by GitHub
commit 2698751429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,9 +203,9 @@ export default class BasicMessageEditor extends React.Component {
if (isSafari) {
this._onInput({inputType: "insertCompositionText"});
} else {
setTimeout(() => {
Promise.resolve().then(() => {
this._onInput({inputType: "insertCompositionText"});
}, 0);
});
}
}