fix(sidebar): use position fixed and transform for mobile sidebar (#3490)

* chore: bump nodejs version to 24

* fix(sidebar): use position fixed and transform for mobile sidebar

Use position: fixed to prevent horizontal scrolling on the mobile
bottom sheet, and replace style.top with transform: translateY() for
smooth drag performance. Cache element refs to avoid
document.querySelector on every drag frame. Apply the same position:
fixed fix to the notebook panel. Closes #3492

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Huang Xin
2026-03-09 01:04:37 +08:00
committed by GitHub
parent 9f8894c1e0
commit 93b96d64eb
5 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: pnpm
- name: setup Java (for Android build only)