Skip to content

fix(ui): 捕获嵌套滚动以校正导航悬停 - #22

Merged
qqqqqf-q merged 1 commit into
mainfrom
codex/sidebar-scroll-hover-capture
Sep 13, 2026
Merged

qqqqqf-q merged 1 commit into
mainfrom
codex/sidebar-scroll-hover-capture

Conversation

@qqqqqf-q

Copy link
Copy Markdown
Member

SidebarContent 内嵌 ScrollArea 后,实际滚动发生在后代 viewport。原来的非捕获 scroll 监听收不到该事件,鼠标静止时导航项的悬停高亮可能停留在旧位置。

将监听改为 capture + passive,继续复用现有命中测试和动画帧合并;原生滚动容器也沿用同一路径。

验证:宿主 Desktop 已接入并完成滚动、底部留白检查;源码 lint 通过。尚未完成人工确认嵌套滚动中的 hover 校正,保留 Draft。

⚠️ No human QA — this PR has not been verified by a human yet. Remove this line once a human confirms the happy path.

@qqqqqf-q
qqqqqf-q marked this pull request as ready for review September 13, 2026 16:59
@qqqqqf-q
qqqqqf-q requested a review from a team as a code owner September 13, 2026 16:59
@qqqqqf-q
qqqqqf-q merged commit 2aa8fc7 into main Sep 13, 2026
1 check passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-13T17:01:39.842851Z 7e74c48 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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