feat: Focus input on mouse click
This commit is contained in:
parent
bdb6e30c92
commit
48f66e785b
@ -165,6 +165,7 @@ const HomeWindow: FC = () => {
|
|||||||
const clearClipboard = () => {
|
const clearClipboard = () => {
|
||||||
setClipboardText('')
|
setClipboardText('')
|
||||||
setSelectedText('')
|
setSelectedText('')
|
||||||
|
focusInput()
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the input is focused, the `Esc` callback will not be triggered here.
|
// If the input is focused, the `Esc` callback will not be triggered here.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user