Skip to content

Smooth scrolling copied from tsu-website - #81

Open
Alexeygrekov wants to merge 1 commit into
mainfrom
Smooth-Scroll
Open

Smooth scrolling copied from tsu-website#81
Alexeygrekov wants to merge 1 commit into
mainfrom
Smooth-Scroll

Conversation

@Alexeygrekov

Copy link
Copy Markdown
Member

Added momentum based scrolling from open source software project https://www.smoothscroll.net/win/ and here is the code https://github.com/gblazex/smoothscroll-for-websites/blob/master/SmoothScroll.js.

It works for scroll wheel, keyboard arrow keys and track pad. Phone scrolling remains the same. I mimicked the feeling for the scroll based on this site https://kompose.io/

Testing:
Tested trackpad, scroll wheel, arrow keys and phone scrolling using web dev tools.

@Alexeygrekov
Alexeygrekov requested a review from a teamNovember 16, 2025 09:08
@AlexeygrekovAlexeygrekov self-assigned this Nov 16, 2025
@vercel

vercelBot commented Nov 16, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentPreviewCommentsUpdated (UTC)
websiteReadyReadyPreviewCommentNov 16, 2025 9:09am

@ParsaKargariParsaKargari left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Alexeygrekov@ParsaKargari