Skip to content

[Bug]: Version selector dropdown highlights Latest instead of the current version #1571

Description

@tknkaa

📝 Issue Description

When viewing a versioned page (e.g. SolidStart v2), opening the version selector dropdown shows Latest highlighted instead of v2. This happens because the dropdown auto-focuses the first item on open, giving it a focus background — while the aria-current attribute on the actual active item has no visual styling applied to it.

📋 On which page(s) it occurs

Any versioned page, e.g.:

🤔 Expected Behavior

The currently active version (e.g. v2) should be visually highlighted in the dropdown list.

👀 Current Behavior

Latest appears highlighted due to auto-focus on the first item. The actual active version has no visual distinction, making it look like the user is on Latest regardless of which version they are viewing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions