vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

feat(VNavigationDrawer): add force-expand to override hover expand

Open eesayas opened this issue 7 months ago • 0 comments

Description

Resolves #20591

Allows the drawer to remain visually expanded even when the user is not hovering, without disabling rail mode. Only applies when expand-on-hover is enabled. Useful for cases like renaming items where a stable expanded view is needed.

Markup:

<template>
  <v-app>
    <v-main>
      <v-navigation-drawer expand-on-hover force-expand rail>
        <v-list density="compact" nav>
          <v-list-item></v-list-item>
          <v-list-item></v-list-item>
          <v-list-item></v-list-item>
        </v-list>
      </v-navigation-drawer>
    </v-main>
  </v-app>
</template>

eesayas avatar May 30 '25 15:05 eesayas