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
|
<Input
|
||||||
name='q'
|
name='q'
|
||||||
required
|
required
|
||||||
autoFocus
|
autoFocus={showSearch && !atBottom}
|
||||||
groupClassName='mr-3 mb-0 flex-grow-1'
|
groupClassName='mr-3 mb-0 flex-grow-1'
|
||||||
className='w-100'
|
className='w-100'
|
||||||
onChange={async (formik, e) => {
|
onChange={async (formik, e) => {
|
||||||
|
|
Loading…
Reference in New Issue