mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +08:00
feat: Focus input on mouse click
This commit is contained in:
parent
bdb6e30c92
commit
48f66e785b
@ -165,6 +165,7 @@ const HomeWindow: FC = () => {
|
||||
const clearClipboard = () => {
|
||||
setClipboardText('')
|
||||
setSelectedText('')
|
||||
focusInput()
|
||||
}
|
||||
|
||||
// If the input is focused, the `Esc` callback will not be triggered here.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user