Vuetify: Navigation bar list group should close in mini mode

Created on 5 Jul 2017  路  6Comments  路  Source: vuetifyjs/vuetify

This is not mini
screen shot 2017-07-05 at 12 14 28 pm

if keeping list-item open and use mini mode:
screen shot 2017-07-05 at 12 14 30 pm

however I think this is expected:
screen shot 2017-07-05 at 12 14 34 pm

otherwise when use click on ex. PPS on the picture, it will open the navbar with everything close. Plus, it looks ugly to have a big gap between two list item

This issue can be reproduce using the vuetify page as well, so I will not create a codepen or jsfiddle here.

enhancement

Most helpful comment

This is broken again in Vuetify 1.0. I am expecting the display of the list__group__items to change from 'block' to 'none' when the mini-variant drawer is closed. Since I can see that some other devs want all list groups to be open in mini mode, maybe this could be left up to the developer with a new prop.

All 6 comments

Do you think the expected behavior is when mini is changed to true, all list-groups retract?

@johnleider I think we had this discussion before, here might be the right place to gather some ideas. I think nested/grouped list items should be either:

  • not visible and only show if the sidebar is full-with again
  • nested items are displayed inside a v-menu on mini variant

What about list group items with tile action ?
I was expecting to see my sub menu icons in the mini drawer.

I don't think it is a good idea to force hide the list groups in mini mode. For my use case I need to open all listgroups in mini mode (I'm not sure that this is even possible actually).
IMHO you should leave the decision to the developer and not force it in the CSS. We can still add it ourselves or even do more complicated stuffs with v-show/hide.

This is broken again in Vuetify 1.0. I am expecting the display of the list__group__items to change from 'block' to 'none' when the mini-variant drawer is closed. Since I can see that some other devs want all list groups to be open in mini mode, maybe this could be left up to the developer with a new prop.

I fixed it by setting the children v-list-tiles in the v-list-group to v-if="!Mini" (only displaying them if the drawer is not in mini mode.)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aaronjpitts picture aaronjpitts  路  3Comments

milleraa picture milleraa  路  3Comments

sebastianmacias picture sebastianmacias  路  3Comments

radicaled picture radicaled  路  3Comments

gluons picture gluons  路  3Comments