Skip to content

Commit

Permalink
chore(maps): remove focus from search input on submit
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Nov 6, 2024
1 parent 3b1432c commit fa68086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/maps/MapsPageTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function MapsPageTabs() {

const onSubmit = (e: React.FormEvent) => {
e.preventDefault();
inputRef.current?.focus();
inputRef.current?.blur();
// Set search query in URL
if (searchText) {
navigate({ to: "/maps", search: { q: searchText, sceneId } });
Expand Down

0 comments on commit fa68086

Please sign in to comment.