-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: iPadでdeck uiでマウスホイールでスクロールできない #15244
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #15244 +/- ##
============================================
- Coverage 39.40% 18.82% -20.59%
============================================
Files 1607 764 -843
Lines 210127 111056 -99071
Branches 3785 1233 -2552
============================================
- Hits 82803 20907 -61896
+ Misses 126718 89562 -37156
+ Partials 606 587 -19 ☔ View full report in Codecov by Sentry. |
commit b299046 Author: anatawa12 <[email protected]> Date: Thu Jan 9 20:23:25 2025 +0900 docs(changelog): iPadOSでdeck uiをマウスカーソルによってスクロールできない問題を修正 commit 8a531b7 Author: anatawa12 <[email protected]> Date: Thu Jan 9 20:11:34 2025 +0900 fix: ipadでdeck uiでスクロールできない
packages/frontend/src/ui/deck.vue
Outdated
} | ||
|
||
document.addEventListener('pointerdown', pointerEvent); | ||
document.addEventListener('pointermove', pointerEvent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
パフォーマンスへの影響が気になるわね
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pointerDown / upだけでいい説はありますね。ちょっと試してみます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pointerdownだけで実装できました https://github.com/misskey-dev/misskey/pull/15244/files#r1938865257
What
iPadOSでマウスホイールを使用してスクロールができない問題を修正しました。
また、水平スクロールができない問題の修正のため、マウスホイールでスクロールしてるときには snap を無効化するようにしました。
Fix #11733
Relates #7220?
Why
Additional info (optional)
Checklist