Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/client/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -488,11 +488,11 @@ export default function Home({ workspace }: { workspace: WorkspacePayload }) {
// Tame the edge auto-scroll. dnd-kit's default acceleration (10) scrolls
// the board ~2000px/s when a dragged card reaches the left/right edge —
// far too fast to land in the intended column on a phone, where only
// ~one column is visible (PROG-79 follow-up). Halving acceleration caps
// the top speed while keeping the smooth 5ms scroll cadence (lowering it
// further is the knob to turn if it's still fast; raising `interval`
// instead would make the motion choppy).
autoScroll={{ acceleration: 5 }}
// ~one column is visible (PROG-79 follow-up). acceleration 2 caps it at
// ~320px/s (≈ one column per second) while keeping the smooth 5ms scroll
// cadence — deliberate and controllable. It's the single knob to dial
// (raising `interval` instead would make the motion choppy).
autoScroll={{ acceleration: 2 }}
onDragStart={onDragStart}
onDragOver={onDragOver}
onDragEnd={onDragEnd}
Expand Down