# DMenu for 'More' in sidebar selects first item, even if it is not the current page

**URL:** https://meta.discourse.org/t/dmenu-for-more-in-sidebar-selects-first-item-even-if-it-is-not-the-current-page/367344
**Category:** UX
**Created:** [May 23, 2025, 9:29am UTC](https://meta.discourse.org/t/dmenu-for-more-in-sidebar-selects-first-item-even-if-it-is-not-the-current-page/367344 "2025-05-23T09:29:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [May 23, 2025, 9:29am UTC](https://meta.discourse.org/t/dmenu-for-more-in-sidebar-selects-first-item-even-if-it-is-not-the-current-page/367344/1 "2025-05-23T09:29:40Z")

</div>

I am at the /about page more open up the ‘More’ menu in the sidebar.

 ![The image shows a dark theme menu from the Meta Discord website, displaying options such as "Documentation," "FAQ," "Groups," and "Anniversaries." (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/8/9/5/895d8056f5da3d8423d05c4b1b875ec4fa18c99d.jpeg)

As you can see, the ‘Users’ item seems to be selected, although I am at the About page. Would it seem more natural that the one selected is the one you are currently at? This doesn’t happen, since the page you are at brings the list item to outside the menu, in the sidebar items.

Therefore, is it possible that the top-most does not appear to be selected?

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [May 23, 2025, 9:30am UTC](https://meta.discourse.org/t/dmenu-for-more-in-sidebar-selects-first-item-even-if-it-is-not-the-current-page/367344/2 "2025-05-23T09:30:39Z")

</div>

To clarify, my finger was not pressing on the ‘Users’ item when this screenshot was taken.

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [May 23, 2025, 11:15am UTC](https://meta.discourse.org/t/dmenu-for-more-in-sidebar-selects-first-item-even-if-it-is-not-the-current-page/367344/3 "2025-05-23T11:15:54Z")

</div>

I also wonder why the first item is highlighted on the More menu. When you inspect it, the highlight disappears.

I like the pattern that currently active items are moved out of the menu to the parent menu. So it seems there just shouldn’t be an active highlight on the More menu, as there’s actually no active items? The pattern is not consistent though, for example here on Meta it doesn’t apply to the leaderboard pages.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [May 23, 2025, 1:11pm UTC](https://meta.discourse.org/t/dmenu-for-more-in-sidebar-selects-first-item-even-if-it-is-not-the-current-page/367344/4 "2025-05-23T13:11:06Z")

</div>

This is because when the menu is opened we focus the first item for keyboard navigation.

We can change this from `focus` to `focus-visible`, which should only show the highlight when needed (like when keyboard nav is in use)

[https://github.com/discourse/discourse/pull/32882](https://github.com/discourse/discourse/pull/32882)

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [May 24, 2025, 1:42am UTC](https://meta.discourse.org/t/dmenu-for-more-in-sidebar-selects-first-item-even-if-it-is-not-the-current-page/367344/5 "2025-05-24T01:42:26Z")

</div>

Thanks for the speedy fix!
