-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
How to spec user interaction for select #10762
Comments
I think it's important context to state why this is important: the popup is not script-observable without |
At whatnot we discussed this, and it sounded helpful to start by providing a list of situations where preventDefault would change the behavior. There was also a discussion about reusing the popovertarget activation behavior to open the popover picker. |
FWIW, when I played with this yesterday it seems that pressing the down arrow on a closed |
Sure, the focus is in that case on select. In the new case the focus is on option elements. |
Perhaps we can make something like this paragraph that's already in the spec? https://html.spec.whatwg.org/multipage/form-elements.html#concept-select-pick How does this sound for opening the picker?
|
What is the issue with the HTML Standard?
As part of customizable select, there is desire to add something to the spec that explains how the user can interact with the select element. There is already some paragraphs related to choosing options, which basically just says that input and change events should be fired after the user chooses an option.
Potential actions:
Potential requirements:
key
property of a relevant KeyboardEvent should be?appearance:base
<select>
not to require user activation beforeshowPicker()
? #10604Potential solutions:
The text was updated successfully, but these errors were encountered: