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

docs: select options - hidden instead of disabled #1151

Merged
merged 1 commit into from
Nov 26, 2021
Merged

Conversation

rabelloo
Copy link
Contributor

Purpose

We use disabled in core/CSS/native Select because using hidden creates a bad user experience, as the next first option seems to be select by default.

Screenshot 2021-11-24 at 16 14 50
image

However, in our "arguably better UX" version of Select, we can use hidden instead for a better "placeholder" experience.

image

Approach

Change disabled for hidden.

Testing

Storybook.

Risks

People might use hidden for <Select native />, which is fine but not ideal

@rabelloo rabelloo added the documentation Improvements or additions to documentation label Nov 24, 2021
@rabelloo rabelloo requested a review from josokinas November 24, 2021 16:16
@rabelloo rabelloo self-assigned this Nov 24, 2021
@vercel
Copy link

vercel bot commented Nov 24, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/onfido-oss/castor/CGKC5LiTiT5LRxkkr6HfV1MmmXqj
✅ Preview: https://castor-git-docs-select-onfido-oss.vercel.app

@rabelloo rabelloo merged commit 0d4aa7a into main Nov 26, 2021
@rabelloo rabelloo deleted the docs/select branch November 26, 2021 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants