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

[Enhancement] Range is hard to use because of narrowed clickable surface #444

Closed
ddahan opened this issue Jul 24, 2023 · 6 comments · Fixed by #459
Closed

[Enhancement] Range is hard to use because of narrowed clickable surface #444

ddahan opened this issue Jul 24, 2023 · 6 comments · Fixed by #459
Labels
enhancement New feature or request

Comments

@ddahan
Copy link

ddahan commented Jul 24, 2023

I noticed that in practice, it's pretty hard hard to use a range because the clickable space is only the height of the bar. I illustrate this in the example below where only the red part is clickable:

image

I suggest increasing the clickable height, to the height of the selector, something like:

image

I noticed some other libraries do this too.

Thanks.

@ddahan ddahan added the enhancement New feature or request label Jul 24, 2023
Copy link
Member

Not sure what to do about this, I don't really want it to look like daisyUI. What would you suggest?

@ddahan
Copy link
Author

ddahan commented Jul 28, 2023

My suggestion is not about changing the look at all, which is already perfect to me.
I just suggested to increase the clickable space to make it more easy to click.

To be honest I don't know how to do that, but I pointed to the daisyUI example to show it's possible, since they do it. As shown below in the screenshot, the pointer appears without hovering the thin gray bar.

image

Do you think it's hard to do?

Copy link
Member

I've tried something, let me know if this works for you!

@ddahan
Copy link
Author

ddahan commented Jul 29, 2023

@benjamincanac how can I test it? I installed the latest edge version but did not see any change.

Copy link
Member

You can check the Vercel preview: https://ui-qvqrn13kn-nuxtlabs.vercel.app/forms/range

@ddahan
Copy link
Author

ddahan commented Jul 29, 2023

@benjamincanac Yep it's way better! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants