From f75395db74ae54e4ef686c6caccfedbd30cd9c21 Mon Sep 17 00:00:00 2001 From: abdulbasithqb Date: Mon, 11 Mar 2024 15:53:24 +0530 Subject: [PATCH 1/2] fixes: carousel init bug --- src/components/Carousel/Carousel.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Carousel/Carousel.tsx b/src/components/Carousel/Carousel.tsx index f61bc8bc7..7f0be3de0 100644 --- a/src/components/Carousel/Carousel.tsx +++ b/src/components/Carousel/Carousel.tsx @@ -151,6 +151,9 @@ export const Carousel: FC = ({ innerRef={carouselContainer} onEndScroll={handleDragging(false)} onStartScroll={handleDragging(draggable)} + style={{ + overflowX: 'scroll' + }} vertical={false} horizontal={draggable} > From 11677ecc471765d4ed8ab631aeccd5dc9339b856 Mon Sep 17 00:00:00 2001 From: Basith <134603758+abdulbasithqb@users.noreply.github.com> Date: Mon, 18 Mar 2024 11:47:26 +0530 Subject: [PATCH 2/2] Update Carousel.tsx --- src/components/Carousel/Carousel.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Carousel/Carousel.tsx b/src/components/Carousel/Carousel.tsx index 7f0be3de0..60e0547b5 100644 --- a/src/components/Carousel/Carousel.tsx +++ b/src/components/Carousel/Carousel.tsx @@ -151,9 +151,7 @@ export const Carousel: FC = ({ innerRef={carouselContainer} onEndScroll={handleDragging(false)} onStartScroll={handleDragging(draggable)} - style={{ - overflowX: 'scroll' - }} + style={{ overflowX: 'scroll' }} vertical={false} horizontal={draggable} >