diff --git a/.changeset/resize-pin.md b/.changeset/resize-pin.md deleted file mode 100644 index 50676d7..0000000 --- a/.changeset/resize-pin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@mitchellslager/carousel": patch ---- - -Keep the active slide in place when the window resizes in large steps, for example from a phone width to a desktop width. The carousel could end up on another slide, or between two, because browsers clamp and re-snap the scroll position on their own. diff --git a/packages/carousel/CHANGELOG.md b/packages/carousel/CHANGELOG.md index 00fde74..93e793e 100644 --- a/packages/carousel/CHANGELOG.md +++ b/packages/carousel/CHANGELOG.md @@ -1,5 +1,11 @@ # @mitchellslager/carousel +## 0.2.1 + +### Patch Changes + +- [#15](https://github.com/mitchellslager/carousel/pull/15) [`a2757a0`](https://github.com/mitchellslager/carousel/commit/a2757a0a66239ba48aa74cb21517bed1f2b53192) Thanks [@mitchellslager](https://github.com/mitchellslager)! - Keep the active slide in place when the window resizes in large steps, for example from a phone width to a desktop width. The carousel could end up on another slide, or between two, because browsers clamp and re-snap the scroll position on their own. + ## 0.2.0 ### Minor Changes diff --git a/packages/carousel/package.json b/packages/carousel/package.json index 041fabd..79ed003 100644 --- a/packages/carousel/package.json +++ b/packages/carousel/package.json @@ -1,6 +1,6 @@ { "name": "@mitchellslager/carousel", - "version": "0.2.0", + "version": "0.2.1", "description": "A headless, accessible image carousel for React, driven by native CSS scroll snapping.", "license": "MIT", "author": "Mitchell Slager",