Skip to content

Keep keyboard focus in search box when displaying results #24

@hjst

Description

@hjst

Robin mentioned it'd be nice to have the search box keep focus when displaying search results. It would, and that's the default behaviour, except I disabled it in clue.js.

As far as I'm aware there isn't yet a reliable way to detect if the browser is a touchscreen device (and thus wants the onscreen keyboard hidden to better display the results) or a traditional desktop browser with physical keyboard (and thus wants the focus to remain in the search box).

Maybe these aren't conflicting interests and I'm just misunderstanding something, but for the moment it seems to me like it's either one or the other - and I'm choosing phones/ipads over desktop. This issue is so I don't forget why I made the choice again in the future... (hopefully)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions