-
Notifications
You must be signed in to change notification settings - Fork 184
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(useScrollLock): check first effect #8124
fix(useScrollLock): check first effect #8124
Conversation
Проверяем что это не первый эффект при управлении скролллоком
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
e2e tests
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8124 +/- ##
=======================================
Coverage 95.55% 95.56%
=======================================
Files 398 398
Lines 11351 11355 +4
Branches 3741 3742 +1
=======================================
+ Hits 10847 10851 +4
Misses 504 504
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
👀 Docs deployed
Commit eadeddb |
Проверяем что это не первый эффект при управлении скролллоком
✅ v7.1.1 🎉 |
Описание
При первом рендере выполняется disableScrollLock, из-за чего пользователя может кинуть в 0 позицию, если он прокрутил страницу. Также вызывается лишний reflow
Изменения
Проверяем что это не первый эффект при управлении скролллоком
Release notes
Исправления