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

document is not defined when using defaultOpen #57

Open
luigigorlero opened this issue Jun 18, 2024 · 1 comment
Open

document is not defined when using defaultOpen #57

luigigorlero opened this issue Jun 18, 2024 · 1 comment

Comments

@luigigorlero
Copy link

On Nuxt SSR, using defaultOpen gives a fatal 500 error.
Document unavailable on the server should be the culprit here. If I set { ssr: false } on the route that uses the defaultOpen drawer, everything works smoothly

@zernonia
Copy link
Member

Thanks for the issue @luigigorlero .. perhaps you can wrap the component within ClientOnly for now? 😁

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

No branches or pull requests

2 participants