Skip to content

Traversing through options on a keyboard with classes that alter the dropdown option order will not work #139

@RisPNG

Description

@RisPNG

LiveSelect and LiveView versions
LiveSelect version: On latest commit 222b8c8.
LiveView version: 1.1.22

Describe the bug
When traversing through the options on a keyboard (ArrowUp and ArrowDown) with any classes that resorts the option(s) applied, it will basically not work.

The classes that I tried this with are:

        dropdown_extra_class="flex flex-col"
        selected_option_class="order-first font-bold"

and here is the video of said issue:

Screencast.From.2026-02-20.19-17-37.mp4

Browsers
Chrome 144

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions