Skip to content

[Feature]: Add Prop to Prevent Dialog Closing on Overlay Click #1348

@meles27

Description

@meles27

Describe the feature

I'd like to request a feature for shadcn-vue where the component supports a prop like :closeOnClickOutside="false" to prevent automatic closing when the user clicks the overlay, as this behavior is currently not configurable and can negatively affect user experience in critical modals such as confirmations or unsaved changes

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