Open tibineagu opened 2 years ago
Fixes mdbootstrap/perfect-scrollbar#139
Thank you very much for your contribution! Please make sure the followings are checked.
npm test
Because deltaY is negative when the user is scrolling down, the logic in shouldBeConsumedByChild for vertical scrolling was flawed.
deltaY
shouldBeConsumedByChild
The solution was simply adjusting the > / < operators to match the deltaY values.
>
<
@filipkappa @marveluck @mdbootstrap any feedback or ETA for this being integrated?
There is no PRs which have ever been accepted and the latest was about a year ago.
Fixes mdbootstrap/perfect-scrollbar#139
Thank you very much for your contribution! Please make sure the followings are checked.
npm test
to make sure it formats and build successfullyDescription
Because
deltaY
is negative when the user is scrolling down, the logic inshouldBeConsumedByChild
for vertical scrolling was flawed.The solution was simply adjusting the
>
/<
operators to match thedeltaY
values.