fix: Finicky click target on share dialog permission action
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user