Skip to content

[feat]: Sheet/Drawer Overlay toggle option #8493

@suit0r

Description

@suit0r

Feature description

Please support <Overlay /> control either in Sheet or Drawer.

It's common for drawers to hold supplemental UI components and be toggled on with the rest of the UI. I want to give me users an interactive side chat which feeds into the main one, but I want to give them the option to toggle it, for focus or whatever. The overlay is a distraction here, rather than promoting focus.

Ideally this would be a prop like withOverlay that won't break existing composition. You can export it as a module, if you prefer.

Affected component/components

Sheet, Drawer

Additional Context

Additional details here...

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions