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

Should <input type=file> have an open state? #181

Open
mrmckeb opened this issue Sep 28, 2020 · 4 comments
Open

Should <input type=file> have an open state? #181

mrmckeb opened this issue Sep 28, 2020 · 4 comments
Labels

Comments

@mrmckeb
Copy link
Collaborator

mrmckeb commented Sep 28, 2020

This issue comes from this comment: https://github.com/WICG/open-ui/pull/140/files#r468264056

Today, browsers open the system's file picker which blocks user interaction with the window until a selection is made, or the action is cancelled. This may not always be the cases, and for consistency with <select>, it might make sense to add an open state to this input.

An open state would also allow for further design customisations.

@una
Copy link
Collaborator

una commented Sep 30, 2020

I think an "open" state could be interesting. In addition to the consistency points raised in the PR, one could add unfocus styles to your UI while the user has this open. Would we also want this for the color input type?

@mrmckeb
Copy link
Collaborator Author

mrmckeb commented Oct 12, 2020

I think it makes sense for all inputs that feature some kind of "open" state - agreed @una. And yes, I'm also interested in the styling opportunities this provides.

@gregwhitworth gregwhitworth added the agenda+ Use this label if you'd like the topic to be added to the meeting agenda label Oct 19, 2020
@gregwhitworth
Copy link
Member

This was discussed in the 11/5 telecon and we resolved on yes for both the file input and any control/component that opens a picker/popup type container.

Resolved: All controls/components that have some form of picker appear should have a state of open

@gregwhitworth gregwhitworth removed the agenda+ Use this label if you'd like the topic to be added to the meeting agenda label Nov 9, 2020
@github-actions
Copy link

There hasn't been any discussion on this issue for a while, so we're marking it as stale. If you choose to kick off the discussion again, we'll remove the 'stale' label.

@github-actions github-actions bot added the stale label Mar 19, 2022
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

3 participants