fixup: remove flag
parent
ffe34ee8a1
commit
c8af1a6256
|
@ -182,10 +182,10 @@ export default class BasicMessageEditor extends React.Component {
|
|||
const isSafari = ua.includes('safari/') && !ua.includes('chrome/');
|
||||
|
||||
if (isSafari) {
|
||||
this._onInput({inputType: "insertCompositionText"}, true);
|
||||
this._onInput({inputType: "insertCompositionText"});
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
this._onInput({inputType: "insertCompositionText"}, true);
|
||||
this._onInput({inputType: "insertCompositionText"});
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue