Skip to content

Commit

Permalink
enhance(search): auto-focus search bar on SearchPage
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Jan 8, 2025
1 parent 16ac07c commit 1649095
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/search/SearchPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ export class InstantSearchContainer extends React.Component {
reset: "search-panel-reset-button",
}}
queryHook={this.handleQuery}
autoFocus

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / testdbcheck

JSX elements cannot have multiple attributes with the same name.

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / testcheck

JSX elements cannot have multiple attributes with the same name.

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / testdbcheck

JSX elements cannot have multiple attributes with the same name.

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / bundlewatch

JSX elements cannot have multiple attributes with the same name.

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / testcheck

JSX elements cannot have multiple attributes with the same name.

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / eslint

No duplicate props allowed

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / bundlewatch

JSX elements cannot have multiple attributes with the same name.

Check failure on line 788 in site/search/SearchPanel.tsx

View workflow job for this annotation

GitHub Actions / eslint

No duplicate props allowed
/>
<Filters
isHidden={!this.inputValue}
Expand Down

0 comments on commit 1649095

Please sign in to comment.