Skip to content

Cancel autoscroll when the user starts scrolling - #277

Open
happykawayigt wants to merge 1 commit into
hyperaudio:mainfrom
happykawayigt:fix/cancel-autoscroll-on-input
Open

Cancel autoscroll when the user starts scrolling#277
happykawayigt wants to merge 1 commit into
hyperaudio:mainfrom
happykawayigt:fix/cancel-autoscroll-on-input

Conversation

@happykawayigt

Copy link
Copy Markdown

Summary

  • cancel an active smooth-scroll animation on wheel, touch, or keyboard input
  • reuse the cancellation helper during instance teardown
  • add a regression test covering all three input paths

Validation

  • npm run build
  • Jest test suite with --runInBand (75 tests passed)
  • git diff --check

Fixes #266

@happykawayigt
happykawayigt marked this pull request as ready for review July 30, 2026 18:30
Sign up for free to 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.

smoothScrollTo fights user scrolling for 800ms with no input cancellation

1 participant