Skip to content

[Feature]: Dont remove Dialog from DOM (use v-show instead of v-if) #1727

@MickL

Description

@MickL

Describe the feature

There doesnt seem to be a prop to control if the Dialog should get removed from DOM or not (e.g. by using v-show instead of v-if).

Coming from vaul-vue, our project requires to have the content of the drawer to be part of the DOM at all times for SEO reasons. For SEO it can be absolutely crucial if specific content is missing, e.g. if the menu is in Drawer it will never be rendered for crawlers.

Reference: unovue/vaul-vue#94

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions