calebporzio.bsky.social
@calebporzio.bsky.social
Tackled clearable inputs in Flux today

Tried to mimic native ones as best as possible
- focusable but not tabbable
- re-focus input after click
- only show when field is non-empty
- big enough pointer target for mobile
- consistent styling across input fields, listboxes, and command palettes
November 1, 2024 at 3:38 PM