Skip to content

fix(home): let touch swipes on the trending rail scroll the page - #424

Merged
harlan-zw merged 1 commit into
mainfrom
fix/home-rail-touch-scroll
Oct 5, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/home-rail-touch-scroll

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Related to #419

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

On phones, a swipe that starts on the hero's trending rail scrolls the rail, and overscroll-behavior: contain keeps the page still. The rail fills most of the screen there, so scrolling down the homepage often goes nowhere.

On coarse pointers the stream in SkillSourceList now uses overflow-y: hidden and resets overscroll-behavior-block, so touch scrolls the page. The rail keeps scrolling itself, and mouse and trackpad users can still scroll it by hand.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

The hero rail scrolled under touch and its overscroll containment kept the page still, so a swipe that started on it went nowhere on phones.
@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 5, 2026
@harlan-zw

Copy link
Copy Markdown
Collaborator Author

Agent check, since CI cannot cover it: I ran emulated touch swipes in headless Chrome at 375px with touch input, against live skilld.dev with this rule injected.

  • Live: a 200px swipe that starts on the rail scrolls the rail 254px and the page 0px.
  • With this change: the same swipe scrolls the page 249px and the rail does not move.
  • The rail still scrolls itself, about 68px in 3 seconds.
  • At 1280px with a mouse, the rail keeps overflow-y: auto.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. labels Oct 5, 2026
@harlan-github-agent

harlan-github-agent Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-05 13:43 UTC.

GitHub merged this pull request.

No material findings were recorded.

193a18d5-ab5a-473d-8d0a-4fa6a216e520

@harlan-github-agent harlan-github-agent Bot added harlan-agent-pending The automated Review is waiting on a gate for this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 5, 2026

@harlan-github-agent harlan-github-agent Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Harlan Agent Kit posted this automated review. AI open source policy.

Automated Review: READY.

Read the Review results

@harlan-github-agent harlan-github-agent Bot added harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-pending The automated Review is waiting on a gate for this head commit. labels Oct 5, 2026
@harlan-zw
harlan-zw merged commit dc8d84a into main Oct 5, 2026
7 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant