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
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