-
Notifications
You must be signed in to change notification settings - Fork 683
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
UDashboardSidebar
- reka-ui
errors on open
#3559
Comments
Not sure if it is due to this issue, but the sidebar doesnt close automatily after navigation either... |
Its not exactly a bug. This is warning thrown by Reka UI and exist in development only: https://github.com/unovue/radix-vue/blob/v2/packages/core/src/Dialog/DialogContentImpl.vue#L61 Here you have the solution #3215 (comment) |
Yeah don’t think that will work for slideover though. It just pollutes logs since every time it opened it shows and when using collapsible it becomes a pain. |
Facing this as well because when you use a custom slot for header (ie. building some UI element within the title/description section) you'll always get these warnings. |
Those warnings are only displayed by Reka UI in development, you can ignore them. |
I am facing the same issue. The sidebar doesnt close automatically after navigation when opened. I also came on this post because of these warnings also appearing in my app. But the solution provided #3215 (comment) can't be applied as I think there is no title or description prop to set to UDashboardSidebar component. |
@Cyril30 You can copy this logic to close the sidebar while navigating: https://github.com/nuxt-ui-pro/dashboard/blob/main/app/layouts/default.vue |
@benjamincanac Lots of warnings in development isn't ideal though, right? Ideally there would be a way to develop the app with zero warnings. |
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3
Reproduction
Description
Hey,
Every time sidebar is opened i get the following warns in console:
and
Also, do think in general we should avoid Reka UI error messages...
The text was updated successfully, but these errors were encountered: