GwtMaterialDesign / gwt-material

A Google Material Design wrapper for GWT
https://gwtmaterialdesign.github.io/gmd-core-demo/
Apache License 2.0
410 stars 124 forks source link

Material DropDowns and ListBoxes do not scroll to element when typing first letters and more than 1 are attached/visible #1031

Open andreififiita opened 1 year ago

andreififiita commented 1 year ago

When multiple material DropDowns and ListBoxes are displayed in the same context, the type-to-search functionality is not working correctly: when typing, the element is found and highlighted, but the there is no scroll inside the dropdown elements list to place the element in view (this is an issue when a list has a lot of elements, for example a list of countries)

Example on GMD ListBox demo page: https://gwtmaterialdesign.github.io/gmd-core-demo/#listbox

  1. Access the link and Go to section "Empty Placeholder"
  2. Click the listbox "Select your hero"
  3. Press W to go to "Wolverine"

The "Wolverine" element is highlighted but the list is not scrolled to show that element.