# When focus returns to search box, auto highlight all text

**URL:** <https://meta.discourse.org/t/when-focus-returns-to-search-box-auto-highlight-all-text/33125>\
**Category:** UX\
**Created:** [Setembro 11, 2015, 2:41pm UTC](https://meta.discourse.org/t/when-focus-returns-to-search-box-auto-highlight-all-text/33125 "2015-09-11T14:41:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)\
**Post date:** [Setembro 11, 2015, 2:41pm UTC](https://meta.discourse.org/t/when-focus-returns-to-search-box-auto-highlight-all-text/33125/1 "2015-09-11T14:41:33Z")

</div>

If you perform a search and then click on the search icon or use the keyboard shortcut, the cursor will be placed at the end of the previous search term. To search for a new term, you must highlight the existing text via mousing, Crtl-A or Shift Arrows keys and then start typing.

The majority of the time I’m using searching, I’m attempting to _search for something completely different_ than what I searched for earlier. If I want to refine, I enter the search results page and then refine the existing term from there.

* * *

In Google’s inbox, when focus is returned to search box, the entire existing term is auto highlighted:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/4/046379ff4346d9c68721c24b74934fd6119b2434.png)

That allows you to start typing immediately if you have a new term to search for, or hit the right arrow key if you need to refine an existing term. As a heavy searcher, I prefer the auto-highlight method and think Discourse should consider adopting it.

---

_[View the full topic](https://meta.discourse.org/t/when-focus-returns-to-search-box-auto-highlight-all-text/33125)._
