need to check isComposing on native event
This commit is contained in:
parent
c8af1a6256
commit
30af9a9056
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ export default class BasicMessageEditor extends React.Component {
|
||||||
// checking the event.isComposing flag just in case any browser out there
|
// checking the event.isComposing flag just in case any browser out there
|
||||||
// emits events related to the composition after compositionend
|
// emits events related to the composition after compositionend
|
||||||
// has been fired
|
// has been fired
|
||||||
return !!(this._isIMEComposing || event.isComposing);
|
return !!(this._isIMEComposing || (event.nativeEvent && event.nativeEvent.isComposing));
|
||||||
}
|
}
|
||||||
|
|
||||||
_onPaste = (event) => {
|
_onPaste = (event) => {
|
||||||
|
|
Loading…
Reference in a new issue