fix: Finicky click target on share dialog permission action

This commit is contained in:
Tom Moor
2024-05-31 19:18:35 -04:00
parent 715b2b1b3f
commit 009458e435

View File

@@ -21,6 +21,9 @@ export function SearchInput({ onChange, onClick, query, back, action }: Props) {
const focusInput = React.useCallback(
(event) => {
if (event.target.closest("button")) {
return;
}
inputRef.current?.focus();
onClick(event);
},