You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: DialogContent requires a DialogTitle for the component to be accessible for screen reader users.
However, as a user of for example nuxt-ui, it's not always possible to provide these elements to the packaged Modal element: nuxt/ui#2383
It would help greatly if there either was another way to pass the title to work more easily in nested use cases (trying to pass a DialogTitle via slot doesn't work, since it gives the error Component must be used within DialogRoot), or disable it.
Additional information
I intend to submit a PR for this feature.
I have already implemented and/or tested this feature.
The text was updated successfully, but these errors were encountered:
Describe the feature
https://www.radix-vue.com/components/dialog#title logs a warning if the DialogTitle and DialogDescription sub-components aren't used:
However, as a user of for example nuxt-ui, it's not always possible to provide these elements to the packaged Modal element: nuxt/ui#2383
It would help greatly if there either was another way to pass the title to work more easily in nested use cases (trying to pass a
DialogTitle
via slot doesn't work, since it gives the errorComponent must be used within DialogRoot
), or disable it.Additional information
The text was updated successfully, but these errors were encountered: