I have a conflict between the Radix sheet component's focus and an instance of typesense docsearch I want to use. It looks like the Sheet traps browser focus while the sheet is open.
Demo (compare search button/interface focus without sheet in full-size breakpoint, vs with sheet in smaller breakpoint):
https://p-9a94b6fd-312d-46e2-aca9-8ea248c4f209.apps.webstudio.is/?authToken=2eb243a1-5272-4d8c-8771-01f74c76c21b&mode=previewWithin the nav menu, I have Typesense docsearch (based on Algolia docsearch) set up as part of the nav. The script generates a button on specified element, and when clicking the button (or using cmd-K), an absolutely positioned div with the search interface pops up as an absolutely positioned div, and sets focus in the input field.
All good in desktop view (without Radix Sheet).
The problem is that with the Radix Sheet component open, the search interface can't be focused. Radix seems to trap the focus.
Is there any way to override this (preferably that isn't super hacky)?