fix: Enter key bug
This commit is contained in:
parent
a2807c9815
commit
6c82f804ae
@ -135,7 +135,8 @@ function useSubmitHandler() {
|
|||||||
(config.submitKey === SubmitKey.Enter &&
|
(config.submitKey === SubmitKey.Enter &&
|
||||||
!e.altKey &&
|
!e.altKey &&
|
||||||
!e.ctrlKey &&
|
!e.ctrlKey &&
|
||||||
!e.shiftKey)
|
!e.shiftKey &&
|
||||||
|
!e.metaKey)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user