don't autofocus search at bottom of page

This commit is contained in:
keyan 2022-02-02 13:02:19 -06:00
parent 48c72fc0c1
commit a2d9f55798
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export default function Search () {
<Input
name='q'
required
autoFocus
autoFocus={showSearch && !atBottom}
groupClassName='mr-3 mb-0 flex-grow-1'
className='w-100'
onChange={async (formik, e) => {