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

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

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?

3 Likes

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

1 Like

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.

3 Likes

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)

3 Likes