You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
need to check isComposing on native event
This commit is contained in:
@@ -194,7 +194,7 @@ export default class BasicMessageEditor extends React.Component {
|
||||
// checking the event.isComposing flag just in case any browser out there
|
||||
// emits events related to the composition after compositionend
|
||||
// has been fired
|
||||
return !!(this._isIMEComposing || event.isComposing);
|
||||
return !!(this._isIMEComposing || (event.nativeEvent && event.nativeEvent.isComposing));
|
||||
}
|
||||
|
||||
_onPaste = (event) => {
|
||||
|
||||
Reference in New Issue
Block a user