Skip to content

Select does not scroll to selected item when the list is large #406

@jadrake75

Description

@jadrake75

Version

  • Vue version: 3

Description

When selecting an item in the select via the model when opened it will not scroll to the item. Depending on the application this will either happen on the first time or on subsequent openings (see example below). This makes is difficult when you have a table + form view and you are selecting a model that is populating the form but clicking the dropdown does not show the selected item. First discussed on Discord channel: https://discord.com/channels/787237947635793940/1171733876100583476/threads/1234957785075155035

Demo

https://stackblitz.com/edit/github-pnakzq-wwpvlc?file=src%2FApp.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions