Skip to content
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

fix(VSpeedDial): Use content-class #20319

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Aug 13, 2024

Description

content-class is mentioned by VSpeedDial API docs and should be applied down to the VMenu.

resolves #20051

Markup:

<template>
  <v-card class="pa-6">
    <v-fab size="large" icon>
      <v-icon>mdi-comment</v-icon>
      <v-speed-dial
        v-model="fabOpen"
        :content-class="['bg-grey-lighten-3','rounded-pill','elevation-2','pa-2']"
        activator="parent"
        location="right center"
      >
        <v-btn key="1" color="success" icon="$success" />
        <v-btn key="2" color="info" icon="$info" />
        <v-btn key="3" color="warning" icon="$warning" />
        <v-btn key="4" color="error" icon="$error" />
      </v-speed-dial>
    </v-fab>
  </v-card>
</template>

<script setup>
  import { ref } from 'vue'
  const fabOpen = ref(true)
</script>

@J-Sek J-Sek force-pushed the fix-speed-dial-content-class branch from 5ac24f9 to 377c368 Compare August 13, 2024 01:26
@KaelWD KaelWD added this to the v3.6.x milestone Aug 13, 2024
@KaelWD KaelWD merged commit b10c4ab into vuetifyjs:master Aug 13, 2024
10 checks passed
@J-Sek J-Sek deleted the fix-speed-dial-content-class branch August 13, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.6.10] VSpeedDial content-class prop doesn't work
2 participants