Show full paths in command palette switcher

https://feedback.yaak.app/p/command-palette-search-should-include-parent-folder-names
This commit is contained in:
Gregory Schier
2025-11-03 05:54:29 -08:00
parent c8d5e7c97b
commit f3e44c53d7
4 changed files with 36 additions and 15 deletions

View File

@@ -52,7 +52,13 @@ export function Overlay({
{open && (
<FocusTrap
focusTrapOptions={{
allowOutsideClick: true, // So we can still click toasts and things
// Allow outside click so we can click things like toasts
allowOutsideClick: true,
delayInitialFocus: true,
checkCanFocusTrap: async () => {
// Not sure why delayInitialFocus: true doesn't help, but having this no-op promise
// seems to be required to make things work.
},
}}
>
<m.div