Skip to content

fix(material): decrease scroll speed centered hero carousel - #59

Merged
mprovok merged 1 commit into
mainfrom
fix/43-centered-hero-scroll-speed
Oct 2, 2026
Merged

mprovok merged 1 commit into
mainfrom
fix/43-centered-hero-scroll-speed

Conversation

@mprovok

@mprovok mprovok commented Oct 2, 2026

Copy link
Copy Markdown
Owner

The CSS scroll-driven animations of the centered hero carousel have been reimplemented to decrease the scroll speed so that swiping moves the carousel to the next or previous item instead of many items ahead or before.

Furthermore, layout shift is avoided by using translation instead of modifying the inline margin.

Fixes #43

@codecov

codecov Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

The CSS scroll-driven animations of the centered hero carousel have been
reimplemented to decrease the scroll speed so that swiping moves the
carousel to the next or previous item instead of many items ahead or
before.

Furthermore, layout shift is avoided by using translation instead of
modifying the inline margin.
@mprovok
mprovok force-pushed the fix/43-centered-hero-scroll-speed branch from 8515ad1 to f480e0e Compare October 2, 2026 12:30
@mprovok
mprovok merged commit a80c4e5 into main Oct 2, 2026
10 checks passed
@mprovok
mprovok deleted the fix/43-centered-hero-scroll-speed branch October 2, 2026 12:39
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.

Centered hero carousel scrolls too fast

1 participant