FormidableLabs / nuka-carousel

Small, fast, and accessibility-first React carousel library with an easily customizable UI and behavior to fit your brand and site.
https://commerce.nearform.com/open-source/nuka-carousel
Other
3.06k stars 593 forks source link

fix: more natural swiping behavior #956

Closed fritz-c closed 2 years ago

fritz-c commented 2 years ago

Description

Swiping the carousel to the left and right using the mouse or touch gestures felt jittery and uncomfortable compared with native UI or horizontal scroll areas. This PR makes those gestures feel more like what users expect from native UI:

A couple bug fixes from this PR:

Type of Change

How Has This Been Tested?

Running storybook locally and opening it on my phone, testing it in desktop browsers, new cypress tests.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nuka-carousel ✅ Ready (Inspect) Visit Preview Aug 16, 2022 at 9:20PM (UTC)