From 7554f4d6f7295c398e2210ee5c631ecdb79ce9eb Mon Sep 17 00:00:00 2001 From: Rene Haas Date: Fri, 21 Jun 2024 10:09:16 +0200 Subject: [PATCH] add easign to first iteration of click scroll --- .../src/plugins/clickScrollPlugin/clickScrollPlugin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/overlayscrollbars/src/plugins/clickScrollPlugin/clickScrollPlugin.ts b/packages/overlayscrollbars/src/plugins/clickScrollPlugin/clickScrollPlugin.ts index e14488c3..75e8c813 100644 --- a/packages/overlayscrollbars/src/plugins/clickScrollPlugin/clickScrollPlugin.ts +++ b/packages/overlayscrollbars/src/plugins/clickScrollPlugin/clickScrollPlugin.ts @@ -57,6 +57,7 @@ export const ClickScrollPlugin = /* @__PURE__ */ (() => ({ easing ); + // easeOutQuad stopClickAnimation = animateClickScroll(0, 0, (x) => 1 - (1 - x) * (1 - x)); return (stopClick?: boolean) => {