Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thevaadinman opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels

Comments

@thevaadinman
Copy link
Contributor

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.

@thevaadinman thevaadinman self-assigned this Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant