Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

263
Vistas
Vuetify transition on toolbar extension template

I'm trying to make a vuetify toolbar that extend on click. (https://vuetifyjs.com/en/components/toolbars/)

Here is a sample of what it looks likes :

 <v-toolbar
    width="100%"
    height="40"
    extension-height="80"
    @click="toggleToolbarExtension"
  >    
  // stuff here...
    <v-expand-transition>
     <template v-if="isToolbarExtended" #extension="{}">
       <v-list dense color="transparent">

So the extended part of this vuetify component is only created in DOM when the data is on true. But what I would like is that the componen "grows" from height 0 to 80 with a transition. So, here are the changes I made :

    <v-toolbar
    width="100%"
    height="40"
    extension-height="isToolBarExtended ? 80 : 0"
    @click="toggleToolbarExtension"
  >
   // stuff here...
    <v-expand-transition>
     <template #extension="{}">
       <v-list v-show="IsToolBarExtended" dense color="transparent">

But it's not working. I've searched on forums but I haven't anyone trying to reproduce the exercice i'm doing. Seems like the template tag can't take any tranisition.

How to make the vuetify toolbar extension grow with smooth transition ?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda