We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6818b30 commit b177861Copy full SHA for b177861
src/utils.ts
@@ -69,11 +69,7 @@ export function getEdges(root: HTMLElement) {
69
}
70
71
72
-export function isScrollbarClick(event: PointerEvent) {
73
- console.log('isScrollbarClick', event.clientX >= window.innerWidth - 17)
74
-
75
- return event.clientX >= window.innerWidth - 17
76
-}
+export const isScrollbarClick = (event: PointerEvent) => event.clientX >= window.innerWidth - 17
77
78
export const defaultOptions = {
79
jumpToFirst: true,
0 commit comments