# You can no longer press ctrl+f twice to use native Find

**URL:** <https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265>\
**Category:** Bug\
**Created:** [2015年十月8日 12:28 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265 "2015-10-08T12:28:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![savef](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savef/32/115698_2.png) [@savef](https://meta.discourse.org/u/savef)\
**Post date:** [2015年十月8日 12:28 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/1 "2015-10-08T12:28:59Z")

</div>

I’m not sure when this changed but it used to be that ctrl+f once would bring up Discourse’s Find feature and pressing it a second time would bring up the browser’s native Find feature. I thought this was quite useful, but now the behaviour has changed and the second press closes Discourse’s Find and does nothing else.

---

<div class="post-metadata">

**Author:** ![Roxelle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roxelle/32/46924_2.png) [@Roxelle](https://meta.discourse.org/u/Roxelle)\
**Post date:** [2015年十月8日 12:53 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/2 "2015-10-08T12:53:09Z")

</div>

The searc function, can be active with /.

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2015年十月8日 12:54 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/3 "2015-10-08T12:54:47Z")

</div>

No, this is a legitimate bug. On long topics, pressing CTRL + F will open the Discourse Search, press it again and it should open the native browser search.

PR of it working previously

> [@Pressing Ctrl+F twice on topic search should close the Discourse search window](https://meta.discourse.org/t/pressing-ctrl-f-twice-on-topic-search-should-close-the-discourse-search-window/19649/13):
>
> I submitted a PR that implements the expected behavior: [https://github.com/discourse/discourse/pull/3559](https://github.com/discourse/discourse/pull/3559)

---

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [2015年十月8日 13:04 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/4 "2015-10-08T13:04:31Z")

</div>

Yeah, that’s a regression. I think I know what the problem is… will fix it tonight.

---

<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:** [2015年十月8日 13:12 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/5 "2015-10-08T13:12:24Z")

</div>

I bisected to this commit. [Migrate search drop down to `menu-panel` component. · discourse/discourse@d4b987f · GitHub](https://github.com/discourse/discourse/commit/d4b987ff)

We should probably add an acceptance tests too 😊

---

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [2015年十月8日 20:36 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/6 "2015-10-08T20:36:26Z")

</div>

I think this should fix it:  
[https://github.com/discourse/discourse/pull/3844](https://github.com/discourse/discourse/pull/3844)

> [@tgxworld](#):
>
> We should probably add an acceptance tests too 😊

I have no idea how to do this. Is it possible to check if the browser handled the event?  
You can add it if you want. 😉 Would be great to see how this can be done.

---

<div class="post-metadata">

**Author:** ![savef](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savef/32/115698_2.png) [@savef](https://meta.discourse.org/u/savef)\
**Post date:** [2015年十月8日 21:06 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/7 "2015-10-08T21:06:40Z")

</div>

Thanks, all! Good job.

---

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [2015年十月8日 21:49 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/8 "2015-10-08T21:49:02Z")

</div>

For anybody being bugged by the Ctrl+f key combination not working on some other websites which have taken it over…

I have found myself getting used to pressing Alt+d, Ctrl+f.

Alt+d puts you in the address bar, from there the search shortcut works.  
(tested in Chrome).

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2015年十月16日 17:29 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/9 "2015-10-16T17:29:28Z")

</div>

Merged! Thanks for the fix @gerhard.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年十月16日 19:33 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/10 "2015-10-16T19:33:07Z")

</div>

Confirmed works, thanks again!

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年十月16日 19:33 UTC](https://meta.discourse.org/t/you-can-no-longer-press-ctrl-f-twice-to-use-native-find/34265/11 "2015-10-16T19:33:10Z")

</div>


