summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-08-30 20:46:36 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-08-30 20:46:36 +0000
commita17a15966be5db6de423cdcb7c427195102b99d8 (patch)
tree064df43ca46deae246cc1e03dd853b27551a0a4d /migrations
parent533d89befd1fe4b8134440e8d415d40a5fb7c04b (diff)
Fix swipe-nav false positives on scroll, shopping quick-add overflow
Swipe-to-change-tab only ever compared horizontal touch delta against a 50px threshold, with no check against vertical movement -- an ordinary scroll through a long tab (the shopping list, in particular) drifts that far horizontally from natural thumb motion alone, and was getting misread as an intentional swipe. Since timeline sits right before shopping in TAB_ORDER, that's specifically what a rightward drift landed on: "shopping randomly jumps back to timeline." Now requires the horizontal delta to be at least 2x the vertical delta before treating it as a swipe instead of a scroll. Also fixed the shopping tab's inline quick-add row: the store <select> had no width cap, so a long store name could claim enough width to push the Add button past the right edge of the screen -- not just cramped, actually unreachable. Capped the select's width and let the name input actually shrink (needs min-w-0 alongside flex-1, since flex items don't shrink below their content size by default), with flex-wrap as a backstop for anything that still doesn't fit. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018AwnALZL6bD4VBtATDVv3B
Diffstat (limited to 'migrations')
0 files changed, 0 insertions, 0 deletions