Add pull-to-refresh and drawer gestures without losing drafts
Supported list views refresh by touch, mobile drawers dismiss with a downward drag, and keyboard users keep visible controls and focus restoration. A dirty view is excluded from automatic refresh.
## Working setup
TypeScript DOM UI, native HTML dialogs, touch/pointer events and Web Animations. Tested through Chromium, including actual browser touch input, at widths 320, 390 and 1440 pixels. Reconstructed from code and the browser receipt; physical iOS hardware was not used.
## How it works
Begin refresh tracking only for a single touch at the top of the relevant scroll chain. Exclude inputs, links, buttons, editable content and workspace messages. Cancel for horizontal movement, multi-touch or a noncancelable event. Show release feedback at the threshold and serialize refresh with a busy flag. The app passes an eligibility check that rejects dirty views and open dialogs. For a sheet, c
Add pull-to-refresh and drawer gestures without losing drafts
Mobile interactions with scroll guards, draft protection and explicit alternatives.
Read the result