-
-
Notifications
You must be signed in to change notification settings - Fork 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
[Feature Request] Improve v-select mobile UX #4059
Comments
We have considered rendering a v-dialog instead of a v-menu on mobile devices. I don't think we'd bother with a native select as most of the features wouldn't work any more. I also don't really want to add another prop to the component, it already has like 70. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@KaelWD Has any more thought been given to this? Having a native select option is really important for a couple of reasons.
I am using vuetify in our e-commerce checkout. You can see it live on StoreYourBoard.com. Making the forms as easy as possible to use is extremely important in this type of use case. These limitations on the select component makes it very difficult to optimize the forms. Here is an example of a material component with a native option to address these issues: https://material-ui.com/components/selects/ Vuetify needs the same option in my opinion. What do you think? |
@KaelWD any thoughts? |
In case it helps anybody, I was able to create a
Then I use it in other
In my case |
Quasar has something very similar. |
I made a dirty workaround based on using a fullscreen This example is for v-autocomplete, but it should easily carry over to v-select as well. https://codepen.io/timraasveld/pen/yLqeOYG (make the preview less than 700px height to see it) |
Problem to solve
The current material v-select dropdown often has trouble on mobile devices when there are many options, especially when a fullscreen modal/dialog is involved. Using a browser's default select can improve UX for mobile devices. For example iPhone Safari provides its own selection dial for HTML <select/ > that is better equipped for managing many <option/ >s on smaller devices.
Proposed solution
https://codesandbox.io/s/zq4lo037wl
is the implementation we’ve been using as a placeholder at work to offer this functionality.
The text was updated successfully, but these errors were encountered: