Skip to content

fix: select combo box input text on next click after dropdown closed (#11324) (CP: 25.0)#11351

Merged
web-padawan merged 1 commit into
25.0from
cherry-pick-11324-to-25.0-1773326554433
Mar 12, 2026
Merged

fix: select combo box input text on next click after dropdown closed (#11324) (CP: 25.0)#11351
web-padawan merged 1 commit into
25.0from
cherry-pick-11324-to-25.0-1773326554433

Conversation

@vaadin-bot
Copy link
Copy Markdown
Collaborator

This PR cherry-picks changes from the original PR #11324 to branch 25.0.


Original PR description

Description

Outside click on combo box does not make it lose focus. However, since the selection of input text happens on focus (see input-control-mixin), this prevents autoselect from selecting the input text on click again. This PR makes the combo box select the input text on click once after dropdown closed if the combo box is autoselect.

Fixes #11188

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/contributing/pr
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

@sonarqubecloud
Copy link
Copy Markdown

@web-padawan web-padawan merged commit 30fe44c into 25.0 Mar 12, 2026
10 checks passed
@web-padawan web-padawan deleted the cherry-pick-11324-to-25.0-1773326554433 branch March 12, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants