@ycparak/spring-carousel 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -183,6 +183,7 @@ To keep an element inside a slide from starting a drag (a range input, a map), g
183
183
 
184
184
  - Requires React 19.2 or later: it uses `useEffectEvent`, ref cleanups and `<style>` hoisting.
185
185
  - Left-to-right layouts only for now. There's no looping or autoplay.
186
+ - Clipping uses `overflow: clip`, so the floor is Safari 16+, Chrome 90+ and Firefox 81+. Unlike `overflow: hidden` it doesn't make the viewport a scroll container, which is what stops Safari swallowing vertical trackpad scrolls over the carousel.
186
187
 
187
188
  ## License
188
189
 
package/dist/index.cjs CHANGED
@@ -972,7 +972,7 @@ function format(value) {
972
972
 
973
973
  :where([data-spring-carousel-viewport]) {
974
974
  position: relative;
975
- overflow: hidden;
975
+ overflow: clip;
976
976
  touch-action: pan-y pinch-zoom;
977
977
  user-select: none;
978
978
  -webkit-user-select: none;
package/dist/index.js CHANGED
@@ -972,7 +972,7 @@ function format(value) {
972
972
 
973
973
  :where([data-spring-carousel-viewport]) {
974
974
  position: relative;
975
- overflow: hidden;
975
+ overflow: clip;
976
976
  touch-action: pan-y pinch-zoom;
977
977
  user-select: none;
978
978
  -webkit-user-select: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycparak/spring-carousel",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A composable, spring-driven carousel for React.",
5
5
  "keywords": [
6
6
  "react",