-
-
Notifications
You must be signed in to change notification settings - Fork 589
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: when using scrollTo the outer layer also scrolls at the same time #1064
base: master
Are you sure you want to change the base?
fix: when using scrollTo the outer layer also scrolls at the same time #1064
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ci failed |
These two tests failed because I deprecated the |
Yes if these test cases is useless. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1064 +/- ##
=======================================
Coverage 99.51% 99.51%
=======================================
Files 47 47
Lines 4518 4527 +9
Branches 571 572 +1
=======================================
+ Hits 4496 4505 +9
Misses 22 22 ☔ View full report in Codecov by Sentry. |
使用 scrollTo 替换 scrollIntoView,避免出现嵌套滚动 div 的时候,使内部 div 滚动同时导致外部的 div 也一起滚动。
ant-design/ant-design#46467