mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fix for input blur on send/enter
This commit is contained in:
parent
8071db8f35
commit
00f55bba56
@ -23,7 +23,6 @@ export function AddTopic({ contentKey }) {
|
|||||||
|
|
||||||
const keyDown = (e) => {
|
const keyDown = (e) => {
|
||||||
if (e.key === 'Enter' && !e.shiftKey) {
|
if (e.key === 'Enter' && !e.shiftKey) {
|
||||||
msg.current.blur();
|
|
||||||
addTopic();
|
addTopic();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user