-
Notifications
You must be signed in to change notification settings - Fork 185
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(HorizontalScroll): fix prevent page scrolling #8177
fix(HorizontalScroll): fix prevent page scrolling #8177
Conversation
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. |
size-limit report 📦
|
e2e tests |
👀 Docs deployed
Commit 8b7971b |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8177 +/- ##
==========================================
- Coverage 95.49% 95.48% -0.01%
==========================================
Files 403 403
Lines 11457 11459 +2
Branches 3783 3786 +3
==========================================
+ Hits 10941 10942 +1
- Misses 516 517 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
packages/vkui/src/components/HorizontalScroll/HorizontalScroll.tsx
Outdated
Show resolved
Hide resolved
packages/vkui/src/components/HorizontalScroll/HorizontalScroll.tsx
Outdated
Show resolved
Hide resolved
8b7971b
* fix(HorizontalScroll): fix prevent page scrolling * fix(HorizontalScroll): remove useEventListener hook using * fix(HorizontalScroll): fix removeEventListener options
scrollOnAnyWheel
пропала остановка всплытия событияonwheel
#8176Изменения
Перенес подписку события из нативного обработчика в подписку через
addEventListener
. Добавил preventDefault события приscrollOnAnyWheel
Release notes
Исправления
onwheel
при прокидыванииscrollOnAnyWheel