Skip to content

Commit

Permalink
Merge pull request #311 from mbta/cm/autofocus-search-bar
Browse files Browse the repository at this point in the history
QA: Autofocus search bar.
  • Loading branch information
cmaddox5 authored Apr 25, 2024
2 parents 255ccab + 6632bf9 commit 628da1e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable jsx-a11y/no-autofocus */
import React, { ComponentType, useState } from "react";
import { ReactSearchAutocomplete } from "react-search-autocomplete";

Expand Down Expand Up @@ -35,6 +36,7 @@ const PlacesSearchBar: ComponentType<PlacesSearchBarProps> = ({

return (
<ReactSearchAutocomplete
autoFocus
key={reset}
formatResult={formatResult}
fuseOptions={{
Expand Down

0 comments on commit 628da1e

Please sign in to comment.