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

Select flashes when clicking on the input when the menu is open #2868

Closed
NicholasBoll opened this issue Aug 14, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@NicholasBoll
Copy link
Member

🐛 Bug Report

The <Select> component now closes during the mousedown event on the combobox input and a click event opens it again.

<Select> changed to using 2 input elements starting in v10.3.5.

To Reproduce

v10.3.5

Open the Select. Click on the select input element

Expected Behavior

It should close after a click like it does in v10.3.4

Actual Results

The menu flashes as it disappears while during the mousedown event and opens again during the click event.

@NicholasBoll NicholasBoll added the bug Something isn't working label Aug 14, 2024
alanbsmith pushed a commit that referenced this issue Aug 14, 2024
Redirect the `PopupModel.state.targetRef` to the user input element instead of the hidden server input element. Tests were added to specify this behavior.

Fixes: #2868

[category:Components]
@mannycarrera4
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants