Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Move keyboard focus into the search term box when search is clicked

+11
−0

GitHub issue: Automatically focus search bar after clicking search (search-slide)


When I click the dark grey search button at the top of a Codidact page a new panel opens containing a search term box and a blue search button. If I start typing, nothing happens because the search term box does not have keyboard focus. I need to click in the search term box before I can type anything.

New search panel opened after clicking the search button

Is this by design, or could it be changed so that keyboard focus automatically switches to the search term box?

I can't think of a benefit to not changing the keyboard focus, especially as the previous keyboard focus is already lost (my typing doesn't go to the place I was previously typing, such as a draft question).

Currently I have to make 2 clicks to type a search term, this would reduce it to 1 click. That's a very small difference and doesn't save much time, so I'd expect most of the benefit of this change to be in not confusing new users.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »