Dismiss the palette on a tap/click outside it #49
No reviewers
Labels
No labels
bug
docs
enhancement
good first issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pedromcaraujo/forge!49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "palette-backdrop-dismiss"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Phones have no Esc, so once the command palette was open there was no way to dismiss it without picking an item.
A
clickon the backdrop (outside the palette box) now callsclosePalette(). It'sclickrather thanpointerdownon purpose: the ☰ keybar button opens the palette onpointerdown, and that same tap'sclicktargets the common ancestor (body), not the backdrop — so it can't re-close the palette instantly.Test plan