From 7bfe640273eee3f15cdca09823cc71804d63eea1 Mon Sep 17 00:00:00 2001 From: Vadym Shymko Date: Mon, 20 Feb 2023 11:12:24 +0200 Subject: [PATCH] Fix missed (after minification) transition --- babel.config.js | 1 - package.json | 2 +- src/index.tsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index 8d56709..d777736 100644 --- a/babel.config.js +++ b/babel.config.js @@ -5,7 +5,6 @@ module.exports = { { useBuiltIns: 'entry', corejs: 3, - loose: true, }, ], '@babel/preset-react', diff --git a/package.json b/package.json index 64e0d0b..1299d4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-simply-carousel", - "version": "8.5.0", + "version": "8.5.1", "description": "A simple, lightweight, fully controlled isomorphic (with SSR support) React.js carousel component. Touch enabled and responsive. With support for autoplay and infinity options. Fully customizable", "files": [ "dist/" diff --git a/src/index.tsx b/src/index.tsx index 76a812b..4a3ca64 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -973,7 +973,6 @@ function ReactSimplyCarousel({ transform: itemsListTransform, touchAction: preventScrollOnSwipe ? 'none' : 'auto', }} - data-transform={itemsListTransform} onTransitionEnd={ speed || delay ? handleItemsListTransitionEnd