pietile-carousel
Advanced tools
Comparing version 2.1.0 to 2.1.1
# Changelog | ||
## 2.0.2 | ||
## 2.1.1 | ||
@@ -5,0 +5,0 @@ - Use `tslib` |
{ | ||
"name": "pietile-carousel", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "React Carousel", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# Pietile Carousel | ||
[](https://www.npmjs.com/package/pietile-carousel) | ||
[](https://packagephobia.now.sh/result?p=pietile-carousel) | ||
[](https://bundlephobia.com/result?p=pietile-carousel) | ||
@@ -86,3 +86,3 @@ React carousel based on [react-spring](https://github.com/react-spring/react-spring) and [react-use-gesture](https://github.com/react-spring/react-use-gesture) without repaints and simple in use. | ||
Carousel protects nested links (a-tag's) from undesirable behavior(link click is being processes when user starts dragging and release mouse outside of carousel) by calling `preventDefault` for correspondent `click` event. If you are handling clicks manually you can check [defaultPrevented](https://developer.mozilla.org/en-US/docs/Web/API/Event/defaultPrevented) when processing your event. | ||
Carousel protects nesting links (a-tag's) from undesirable behavior (link click is being processed when the user starts dragging and release the mouse outside of the carousel) by calling `preventDefault` for the correspondent `click` event. If you are handling clicks manually you can check [defaultPrevented](https://developer.mozilla.org/en-US/docs/Web/API/Event/defaultPrevented) when processing your event. | ||
@@ -89,0 +89,0 @@ ## License |
18799