fixes
This commit is contained in:
parent
c4593f1a60
commit
c92f626701
6 changed files with 18 additions and 16 deletions
|
@ -32,6 +32,8 @@ For instance:
|
|||
- `wheel` event -- a mouse wheel roll (a "scrolling" touchpad action generates it too).
|
||||
- `keydown` event for `key:pageUp` and `key:pageDown`.
|
||||
|
||||
Sometimes that may help. But there are more ways to scroll, so it's quite hard to handle all of them. So it's more reliable to use CSS to make something unscrollable, like `overflow` property.
|
||||
If we add an event handler to these events and `event.preventDefault()` in it, then the scroll won't start.
|
||||
|
||||
Sometimes that may help, but it's more reliable to use CSS to make something unscrollable, such as the `overflow` property.
|
||||
|
||||
Here are few tasks that you can solve or look through to see the applications on `onscroll`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue