yariksav / vuetify-dialog

Easy dialogs in Vuetify.js framework
MIT License
195 stars 48 forks source link

Flat message doesn't have transparent background #124

Open Joebayld opened 3 years ago

Joebayld commented 3 years ago

When setting the flat property on a message, the background isn't getting set to transparent (like it does on notify).

Photos describing the behavior:

What it should look like: image

What's actually happening: image

Using the following code:

      this.$dialog.message.error('This should be flat', {
        flat: true,
        position: 'bottom',
        timeout: 0
      })

UPDATE:

I've noticed the class theme--light is still set for message, but it should be theme--dark (like it is in notify).

yariksav commented 3 years ago

Please describe me how do you connect this module to your project, and version of module. Because I checked and this works fine for me.

You have to put your app vuetify instance in the dialog context (if you don't use nuxt module)

Vue.use(VuetifyDialog, { context: { vuetify <- this is important } })