-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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] Greater control of click events and icon location in expansion panels #12531
Comments
I would also like to note that the end result in both functionality and appearance of the expansion panel vs an expandable table row are very different. I think that the ability to make both of these expansion panels look and behave similarly should exist so that developers can improve their users experience and consistency.
|
Did you have a look at #9698? |
Hi there, We are very aware of the "order" class, as that is what we have used ourselves to force the icon, but I still stand by a prop for "left" and "right" is a much cleaner end solution. There are many instances in vuetify where something simple like a directional prop has been implemented in a situation that developers could hypothetically have overridden the native behavior, but that then tends to get a bit hacky and it would be much more intuitive and user friendly to have a prop. Additionally, there are effectively two versions of the expansion panels when you consider the expandable table row as well as the expansion panels. It should be a goal to make the functionality and appearance of these components behave similarly since they are similar. Thank you for getting back to me and I hope this helps |
Thank you for the Feature Request and interest in improving Vuetify. After careful consideration, the team has decided that this is not functionality that we are looking to implement at this time. If you have any questions, please reach out to us in our Discord community. |
Problem to solve
Currently you are unable to choose what side the icon/button is on
There is no way to control if you only want the icon to be clickable (a button) or leave the default functionality where the entire row/header is clickable. This is very undesirable if you have buttons in the header because if a user clicks in just the right place they might accidentally expand the panel unintentionally.
Proposed solution
If there is something I am missing and this is actually possible, I think adding that example to the documentation would be very helpful and/or providing guidance on how I might accomplish this. Thank you as always for your help!
The text was updated successfully, but these errors were encountered: