mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-25 09:46:05 +00:00
A closing picker restored focus to whatever had focus when it opened. Opening the project picker by clicking its trigger left focus on the trigger after a keyboard pick, and every later Cmd/Ctrl+N pick captured the trigger again, so the user had to click back into the prompt. The New Workspace form now passes the composer as the restore target for its pickers. The overlay accepts any handle with focus() as a restore target, so the composer's own retrying focus can be used instead of a raw DOM element.