From a6033b316fb21ef1f199ad70b379c08a58795567 Mon Sep 17 00:00:00 2001 From: Alex Efremov Date: Wed, 24 Jul 2024 14:59:59 +0700 Subject: [PATCH 1/3] Add touch-action style property --- react/components/Slider.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/react/components/Slider.tsx b/react/components/Slider.tsx index 85fd78b..f4eaee8 100644 --- a/react/components/Slider.tsx +++ b/react/components/Slider.tsx @@ -105,6 +105,7 @@ const Slider: FC = ({ WebkitOverflowScrolling: !shouldUsePagination ? 'touch' : undefined, paddingLeft: fullWidth ? undefined : arrowSize * 2, paddingRight: fullWidth ? undefined : arrowSize * 2, + touchAction: 'pan-y', }} className={`w-100 flex items-center relative ${handles.sliderLayoutContainer}`} > From 8e06bed51b07315fae8fab4244f803389ef4c138 Mon Sep 17 00:00:00 2001 From: Alex Efremov Date: Wed, 24 Jul 2024 15:46:36 +0700 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fc4892..f87962e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.24.5] - 2024-07-24 + +### Fixed + +- Fixed unexpected vertical scrolling when user scrolls the slider horizontally + ## [0.24.4] - 2023-11-06 ### Fixed From 122ab90a2c8c35deb719fa09ceb0c42c3808ea65 Mon Sep 17 00:00:00 2001 From: Alex Efremov Date: Wed, 24 Jul 2024 15:50:07 +0700 Subject: [PATCH 3/3] Remove version row from CHANGELOG --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f87962e..1d806e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [0.24.5] - 2024-07-24 - ### Fixed - Fixed unexpected vertical scrolling when user scrolls the slider horizontally