mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Attempt to dismiss focus on mobile
This commit is contained in:
parent
de72df9828
commit
e7528cfc43
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ function Header(props: HeaderProps): JSX.Element {
|
|||
<FormInput
|
||||
ref={inputRef}
|
||||
type="text"
|
||||
tabIndex={props.focused ? 0 : -1}
|
||||
tabIndex={props.focused && !isTouchScreenDevice() ? 0 : -1}
|
||||
autoFocus={!isTouchScreenDevice()}
|
||||
value={props.filterText}
|
||||
placeholder="Filter for label"
|
||||
|
|
|
|||
Loading…
Reference in a new issue