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

[combo-box] Field should not be focused on helper click #3399

Closed
web-padawan opened this issue Feb 6, 2022 · 0 comments · Fixed by #3402
Closed

[combo-box] Field should not be focused on helper click #3399

web-padawan opened this issue Feb 6, 2022 · 0 comments · Fixed by #3402
Assignees
Labels
bug Something isn't working vaadin-combo-box

Comments

@web-padawan
Copy link
Member

Description

Originally reported at #2232 (comment)

The click event listener on the combo-box causes it to be focused regardless of where the user clicked:

this.addEventListener('click', this._boundOnClick);

Expected outcome

Click on helper text should not focus the field, as in other components e.g. vaadin-select.

Actual outcome

Clicking the helper text focuses the combo-box input and opens the dropdown.

Environment

  • v22 and v23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vaadin-combo-box
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant