Proposal for a more usable Select+Label #3747
topherfangio
started this conversation in
Ideas / feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been playing around with the new Label functionality and really love it!
But I noticed that the Label+Select (or Select+Label) doesn't have the best user experience.
Label+Select
In the Label+Select version, you can only click on the right side of the element to select it.
Select+Label
Vice versa, in the Select+Label version, you can only click the left side. But also, the dropdown arrow is on the right and you can't click the arrow.
Proposed
I propose a modification which enables you to select anywhere inside the box by using a combination of clever positioning,
text-right
for the Label+Select, andpointer-events: none
for the labels (https://play.tailwindcss.com/yx19dpdFJ3)Benefits
Beta Was this translation helpful? Give feedback.
All reactions