Skip to content

Commit

Permalink
fix: Fragment links blocked by search autofocus (#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenFrankel authored Mar 25, 2024
1 parent a4c41c4 commit 277c6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
placeholder="Search 600+ connectors and tools"
class="search-bar text-black text-sm bg-transparent pl-4 border-solid border-blue border rounded-[9999px] py-1.5 w-full placeholder:text-par placeholder:font-light font-ibm focus-visible:outline-0"
ref="searchBar"
autofocus
:autofocus="!this.$route.hash"
:value="search"
@input="search = $event.target.value"
@focus="searchFocused = true"
Expand Down

0 comments on commit 277c6b2

Please sign in to comment.