Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Typeahead scroll to selected element with overflow #5023

@Duskfall

Description

@Duskfall

Also commented here

Downloaded and built the master repo (1.0 snapshot version ) and while the issue is fixed with keyboard-nav there is another bug left.

Scenario.

  1. Have multiple suggestions available.
  2. Suggestions must be the same, at least in the first letters which are typed. The rest characters are irrelevant
  3. Define height with overflow scroll that is smaller than the total suggestions.
  4. Scroll down to a suggestion and mouse over it or do the same with the keyboard
  5. Type the letter sequence which exists in every/almost every suggestion in the list.

Typeahead should focus the first suggestion and scroll to that suggestion but it doesn't.
Demo:
http://codepen.io/Duskfall/pen/adowpL

For the demo to reproduce:
Type "t"
Scroll down
Type "e"
You can see the problem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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