# Post navigator keeps keyboard focus when entering post number

**URL:** https://meta.discourse.org/t/post-navigator-keeps-keyboard-focus-when-entering-post-number/35354
**Category:** Bug
**Tags:** keyboard
**Created:** [11월 8, 2015, 1:29오후 UTC](https://meta.discourse.org/t/post-navigator-keeps-keyboard-focus-when-entering-post-number/35354 "2015-11-08T13:29:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JBert](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JBert](https://meta.discourse.org/u/JBert)
#### Post date: [11월 8, 2015, 1:29오후 UTC](https://meta.discourse.org/t/post-navigator-keeps-keyboard-focus-when-entering-post-number/35354/1 "2015-11-08T13:29:17Z")

</div>

I frequently use my keyboard’s cursor keys when going through longer topics as I’m prone to wrist pain when using the scroll wheel for long periods.

What I noticed is that the cursor keys stop working when doing the following:

- Go into any sufficiently long topic, e.g. [the missing plugins thread](https://meta.discourse.org/t/what-is-the-most-awesome-plugin-for-discourse-that-does-not-yet-exist/31).
- Click the post navigator to open it fully.
- Select the post number, replace it with e.g. 200.
- Press Enter. ( **this is the important step** , clicking “go” appears to work)
- The post navigator closes and you are taken to the requested post.
- Press Up / Down on the keyboard. This won’t do anything.

Notice that on mobile (Android in my case) the focus also stays if I press Return from the on-screen keyboard (the “go” button is rather hard to hit accurately). While not blocking I still see the Copy / Cut / Paste controls overlay there until I open the post navigator again or dismiss the overlay.

---

<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: [11월 8, 2015, 5:59오후 UTC](https://meta.discourse.org/t/post-navigator-keeps-keyboard-focus-when-entering-post-number/35354/2 "2015-11-08T17:59:57Z")

</div>

Hmm seems like a legit bug @eviltrout

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [11월 9, 2015, 5:37오후 UTC](https://meta.discourse.org/t/post-navigator-keeps-keyboard-focus-when-entering-post-number/35354/3 "2015-11-09T17:37:29Z")

</div>

Curiously it only happened in Firefox for me. Here’s a fix:

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

Thanks for reporting it!

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [11월 9, 2015, 5:37오후 UTC](https://meta.discourse.org/t/post-navigator-keeps-keyboard-focus-when-entering-post-number/35354/4 "2015-11-09T17:37:32Z")

</div>


