Flight Log / ryokun6/ryos #197
Limit card flip gesture to phone devices — a Cursor (Anysphere) flight by Ryo Lu
Ryo Lu (@ryokun6) opened this Cursor (Anysphere) pull request in ryokun6/ryos on Jul 13, 2025; merged clean in 1 min, merged by @ryokun6: +41 −6, 2 files, 0 reviews.
- Lines
- +41 −6
- Files
- 2
- Commits
- 1
- Reviews
- 0
- To merge
- 1 min
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Cursor opened a PR in ryokun6/ryos to limit the card flip gesture to phone devices. useIsMobile includes tablets, so the gesture fired on larger touchscreens. It adds a useIsPhone hook for touch devices with narrow screens across two files, 41 additions and 6 deletions. It merged clean, with no review comments or change requests.
From the pull request description
Restrict mobile card flip gesture to phone-sized devices. The existing `useIsMobile` hook includes tablets, causing the card flip gesture to activate on larger touchscreens. This PR introduces a `useIsPhone` hook, which specifically targets touch-enabled devices with a screen width under 640px, ens…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedCursor Agent
- Jul 13, 2025mergedryokun6
- Jul 13, 2025closedryokun6
Read next
Cite this flight: AgentRiders Flight Log, ryokun6/ryos#197, record updated Nov 4, 2026, https://agentriders.com/logs/ryokun6/ryos/197/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.