Skip to content

Conversation

J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Oct 16, 2025

Description

resolves #15996

Note: this PR should be followed by deprecating the field in 3.x

Markup:

<template>
  <div class="text-center">
    <v-btn color="red-darken-2" @click="snackbar = true"> Open Snackbar </v-btn>

    <v-snackbar v-model="snackbar" :timeout="-1" min-height="68">
      {{ text }}

      <template #actions>
        <v-btn color="red" variant="text" @click="snackbar = false">
          Close
        </v-btn>
      </template>
    </v-snackbar>
  </div>
</template>

<script setup>
  import { ref } from 'vue'

  const snackbar = ref(false)

  const text = `I am a multi-line snackbar. Confusing example. That's going away.`
</script>

@J-Sek J-Sek self-assigned this Oct 16, 2025
@J-Sek J-Sek added T: bug Functionality that does not work as intended/expected C: VSnackbar labels Oct 16, 2025
@J-Sek J-Sek changed the base branch from master to next October 16, 2025 19:34
@J-Sek J-Sek changed the title Fix/vsnackbar drop multi line fix(VSnackbar): remove multi-line prop Oct 16, 2025
@J-Sek J-Sek added this to the v4.0.0 (Revisionist) milestone Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: VSnackbar T: bug Functionality that does not work as intended/expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report][3.1.2] Multiline snackbar example isn't multi-line

1 participant