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

Vue Toastification integration with Vuetify fails #377

Open
Daniele-Tentoni opened this issue Jun 13, 2023 · 1 comment
Open

Vue Toastification integration with Vuetify fails #377

Daniele-Tentoni opened this issue Jun 13, 2023 · 1 comment
Labels
Type: Bug Something isn't working

Comments

@Daniele-Tentoni
Copy link

Daniele-Tentoni commented Jun 13, 2023

Versions

  • 2.0

Describe the bug

When using any Vuetify component inside the toast component, the app crashes because Vuetify couldn't find his default instance.

Expected behavior

Instead of breaking the page, I expect that my toast component shows the Vuetify component.

Steps to reproduce

Reproduction here.
Steps:

  1. Install Vuetify and Vue Toastification
  2. Set the toast container to container: () => document.getElementById("app")!,
  3. Create a component with any Vuetify component (I used a v-btn)
  4. Execute the application and try to open the toast

Your Environment

  • Device: [e.g. PC]
  • OS: [e.g. Windows 11]
  • Browser [e.g. chrome]
  • Version [e.g. 22] latest

Additional context

You can find the Stackoverflow question here and the updated reproduction Github repo here.

EDIT 1: This sandbox reproduce the error https://codesandbox.io/s/summer-haze-snfsf5

@Daniele-Tentoni Daniele-Tentoni added the Type: Bug Something isn't working label Jun 13, 2023
@philipbeaucamp
Copy link

Still broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants