# 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:** 27

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [Setembro 18, 2015, 2:23am UTC](https://meta.discourse.org/t/when-focus-returns-to-search-box-auto-highlight-all-text/33125/27 "2015-09-18T02:23:58Z")

</div>

I amended the behavior of search in the [full page search](http://meta.discourse.org/search)

_If on the full page search_

- When you click on header magnifying glass we simply highlight the search term in the full page search box

- When you hit / we highlight the search term for full page search

Effectively this means there is just one way of searching when you are on [Search results for '' - Discourse Meta](https://meta.discourse.org/search) , which in my books is good 🌻

[https://github.com/discourse/discourse/commit/086d31d53b4902238ec9e10207c219402e6437b4](https://github.com/discourse/discourse/commit/086d31d53b4902238ec9e10207c219402e6437b4)

---

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