don't autofocus search at bottom of page
This commit is contained in:
parent
48c72fc0c1
commit
a2d9f55798
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue