Skip to content

Fancy Box is not working when used in a Sheet #10

@jangrunicke

Description

@jangrunicke

Hey,

so I built my own reusable fancy box component based on the one provided in this repo. When using it normally it works completely fine but inside a Sheet component the popover closes when toggling a command item. Somehow the focus gets stolen by the sheet.content primitive component. I could not figure out why this happens or how to prevent this.

You can find a copy of my implementation here: https://gist.github.com/jangrunicke/d68c0b5c57ec03713a937401c3710d39

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions