# Reopening search does not select the previous search term anymore

**URL:** https://meta.discourse.org/t/reopening-search-does-not-select-the-previous-search-term-anymore/46880
**Category:** Bug
**Created:** [July 6, 2016, 3:30am UTC](https://meta.discourse.org/t/reopening-search-does-not-select-the-previous-search-term-anymore/46880 "2016-07-06T03:30:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [July 6, 2016, 3:30am UTC](https://meta.discourse.org/t/reopening-search-does-not-select-the-previous-search-term-anymore/46880/1 "2016-07-06T03:30:39Z")

</div>

It was useful to get the previous search term preselected when re-opening the search popup. I think it used to work like that, but not anymore.

This is also a default behavior for browser address bar, browser search etc.

Just to make it clear, here is what I see in the browser search bar when re-opening it:

![](https://global.discourse-cdn.com/meta/original/3X/3/7/376701c5dcfa48cf3a8f4c3f2e2e7d6cd9642d23.png)

My previous search term is highlighted by default, so I can start typing immediately and it will replace the old term.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [July 6, 2016, 3:32am UTC](https://meta.discourse.org/t/reopening-search-does-not-select-the-previous-search-term-anymore/46880/2 "2016-07-06T03:32:13Z")

</div>

Thank you for reporting 🙂 Closing as duplicate of

> [@When focus returns to search box, auto highlight all text](https://meta.discourse.org/t/when-focus-returns-to-search-box-auto-highlight-all-text/33125/29):
>
> Aha this is probably a regression we missed in earlier vdom changes @sam

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [July 6, 2016, 3:32am UTC](https://meta.discourse.org/t/reopening-search-does-not-select-the-previous-search-term-anymore/46880/3 "2016-07-06T03:32:16Z")

</div>


