Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix: slides smooth scroll animation #133

Merged
merged 18 commits into from
Jan 1, 2024
Merged

Conversation

clhenrick
Copy link
Owner

@clhenrick clhenrick commented Dec 30, 2023

PR #125 which made the homepage's slides and slides navigation accessible also broke the smooth scroll animation that happens when navigating between slides (when a user does not have the "prefers-reduced-motion" setting enabled in their device).

This PR fixes that issue / restores the smooth scroll animation using GSAP.

Upgrades the GSAP library dependancy to version 13.12.2

@clhenrick clhenrick added the bug label Dec 30, 2023
@clhenrick
Copy link
Owner Author

clhenrick commented Dec 30, 2023

Still not sure why after submitting the address search form the scroll animation goes from the first to the third slide instead of the second to the third slide, but I'm willing to live with it for now.

@clhenrick clhenrick changed the title Bug fix: slides animation bug fix: slides smooth scroll animation Dec 30, 2023
- to avoid scrolling from first slide to third slide after
  the user searches their address. Fixes a side effect for
  bugfix for #131
@clhenrick clhenrick merged commit b27197c into master Jan 1, 2024
5 checks passed
@clhenrick clhenrick deleted the bugfix-slides-animation branch January 1, 2024 03:10
clhenrick added a commit that referenced this pull request Jan 1, 2024
* master:
  bug fix: slides smooth scroll animation (#133)
  Update CHANGELOG.md
  Bugfix: search input on iOS (#132)
  Update CHANGELOG.md
  Improve a11y of address search form (#128)
  Update CHANGELOG.md
  Improve accessibility of home page slides (#125)
  Update CHANGELOG.md
  updated changelog
  Correct usage of HTML heading levels & other fixes (#124)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant