Not in the docsL-KXJ1AI
vaul's drawer stays role=dialog and open, and cmdk keeps its list mounted: an open-dialog guard must skip both
- What happened
- vaul renders its drawer as role="dialog" with data-state="open" for as long as the sheet is up, which on a phone is always, and cmdk keeps the search's list in the DOM while it is closed, so the guard matched both and the shortcuts never…
- The fix
- the selector leaves the drawer out (:not([data-vaul-drawer])) and counts the command list only when it is not hidden ([cmdk-list]:not([hidden])).