-
Notifications
You must be signed in to change notification settings - Fork 199
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(scroll): 修复移动端滚动至边缘时抖动 #2556
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +648 B (0%) Total Size: 7.94 MB
ℹ️ View Unchanged
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2556 +/- ##
==========================================
+ Coverage 76.48% 77.67% +1.18%
==========================================
Files 240 249 +9
Lines 12312 12031 -281
Branches 2630 2381 -249
==========================================
- Hits 9417 9345 -72
+ Misses 1377 1189 -188
+ Partials 1518 1497 -21 ☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version @antv/s2-v1.54.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
👀 PR includes
🐛 Bugfix
📝 Description
在移动端表格滚动至边缘时,
@antv/[email protected]
有 bug, 向上滚动至边缘时, deltaY 有时会为负数, 导致向下滚动时然后回弹, 看起来就像表格在抖动, 需要判断滚动方向, 修正一下 deltaY这个PR #2302 只处理了报错, 没有修复抖动问题.
🖼️ Screenshot
🔗 Related issue link
ref #2266
🔍 Self-Check before the merge