Skip to content

ComboBox with item filtering and a selected item will not open the popup to display the currently selected item #12616

@thevaadinman

Description

@thevaadinman

This issue was previously considered fixed, but had to be reverted due to unforeseen side effects.

The effect is as follows:

  • There is a ComboBox with a large amount of items.
  • A value is chosen from the ComboBox by typing in part of the desired item name, and the item is selected by clicking on it in the dropdown menu
  • The popup closes upon selection
  • The user manually opens the ComboBox dropdown
  • The dropdown should be scrolled to a position in the list which shows the currently selected item. Instead, the first page of results is shown.
  • If the dropdown is dismissed and opened again, the ComboBox will have scrolled to the correct position in the list.

This is due to the internal state of the ComboBox client-side widget getting confused regarding the tracking of the current page.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions