fix: let the mouse wheel scroll the reading viewport
overscroll-behavior: none on the script-scrolled, overflow-hidden reading viewport swallowed wheel events, so the page only moved by keyboard, touch or the navigation.
This commit is contained in:
@@ -597,7 +597,8 @@
|
|||||||
/* A real scroll container (scrolled from script, never by the user), so
|
/* A real scroll container (scrolled from script, never by the user), so
|
||||||
sticky children and view timelines resolve against the reading window. */
|
sticky children and view timelines resolve against the reading window. */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
overscroll-behavior: none;
|
/* Wheel and touch scrolling must chain through to the document, which
|
||||||
|
drives this container: no overscroll-behavior here. */
|
||||||
isolation: isolate;
|
isolation: isolate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user