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.

Post History

86%
+11 −0
Q&A Move keyboard focus into the search term box when search is clicked

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 ter...

0 answers  ·  posted 1y ago by trichoplax‭  ·  edited 10mo ago by trichoplax‭

#4: Post edited by user avatar trichoplax‭ · 2023-06-22T11:10:08Z (10 months ago)
Make image a link to the standalone image
  • GitHub issue: [Automatically focus search bar after clicking search (search-slide)](https://github.com/codidact/qpixel/issues/829)
  • ---
  • 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.
  • [New search panel opened after clicking the search button]: https://meta.codidact.com/uploads/gl22tann626tcy50n0mq340osonb
  • GitHub issue: [Automatically focus search bar after clicking search (search-slide)](https://github.com/codidact/qpixel/issues/829)
  • ---
  • 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]][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.
  • [New search panel opened after clicking the search button]: https://meta.codidact.com/uploads/gl22tann626tcy50n0mq340osonb
#3: Post edited by user avatar trichoplax‭ · 2023-01-15T10:18:57Z (over 1 year ago)
Link to older GitHub issue that already covers this
  • 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.
  • [New search panel opened after clicking the search button]: https://meta.codidact.com/uploads/gl22tann626tcy50n0mq340osonb
  • GitHub issue: [Automatically focus search bar after clicking search (search-slide)](https://github.com/codidact/qpixel/issues/829)
  • ---
  • 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.
  • [New search panel opened after clicking the search button]: https://meta.codidact.com/uploads/gl22tann626tcy50n0mq340osonb
#2: Post edited by user avatar trichoplax‭ · 2023-01-09T05:40:48Z (over 1 year ago)
Replace outdated image with current look
  • 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.
  • [New search panel opened after clicking the search button]: https://meta.codidact.com/uploads/ZAFRdGQv9a1gKM4nujdsL4Ki
  • 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.
  • [New search panel opened after clicking the search button]: https://meta.codidact.com/uploads/gl22tann626tcy50n0mq340osonb
#1: Initial revision by user avatar trichoplax‭ · 2022-09-18T21:48:54Z (over 1 year ago)
Move keyboard focus into the search term box when search is clicked
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.


[New search panel opened after clicking the search button]: https://meta.codidact.com/uploads/ZAFRdGQv9a1gKM4nujdsL4Ki