boardx / boardx/workspacex

禁用 Mac 双指横滑触发的浏览器前进/后退手势

Open Beginner friendly
#2,902 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1h 7m
Merged PRs (30d)
969

Description

用户直接反馈(对话交办,非 sprint/feature 正规流程):

在 macOS 上,用 trackpad 两个手指左右滑动(pan)时,Chrome/Edge 会把这个手势解释为
浏览器前进/后退导航,导致在工作台里跳脱当前页面/状态。

修复方案:在 `apps/web/app/globals.css` 的 `html, body` 上设置
`overscroll-behavior-x: none`,关闭该手势的默认响应,不影响容器内部正常的横向滚动。

本 issue 为 ad-hoc 修复的轻量追溯标记(见 `.harness/instructions/ad-hoc-fix-pr-sop.md`
第 4 条),不走完整 sprint feature 生命周期。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in apps/web/app/globals.css and inspect the html, body styles. Set the specified horizontal overscroll behavior, then verify that macOS two-finger horizontal swipes no longer trigger browser navigation while normal horizontal scrolling inside containers still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
90/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.