Skip to content

Reset scroll position of dropdown when opening and closing or typing #330

Open
@edwardhorsford

Description

@edwardhorsford

If the autocomplete is acting as a select, I think it should reset the scroll position of the select if you open and close it. At the moment it's retained - so if you open it, scroll down, close it, then open again, you get returned mid-scroll.

If we're trying to act in a similar way to selects, opening the autocomplete should be as if it's first opened.

select-reset-scroll-position

Similarly, if auto-select is on and you type in the box, an item might get selected above the scroll, but it isn't visible - we should scroll to the top / scroll to the selected item (same thing?).

select-hidden

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working the way it should (including incorrect wording in documentation)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions