mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 19:43:59 +01:00
fix: Prevent chat message submission during Japanese IME conversion (#196)
This commit is contained in:
parent
6d1ae9f526
commit
63f9eca717
|
@ -347,7 +347,7 @@ const EditView = ({
|
||||||
navigator.userAgent
|
navigator.userAgent
|
||||||
);
|
);
|
||||||
|
|
||||||
if (e.key === 'Enter' && !isMobile) {
|
if (e.key === 'Enter' && !isMobile && !e.nativeEvent.isComposing) {
|
||||||
const enterToSubmit = useStore.getState().enterToSubmit;
|
const enterToSubmit = useStore.getState().enterToSubmit;
|
||||||
if (sticky) {
|
if (sticky) {
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in a new issue