Skip to content

Commit 4c787a4

Browse files
committed
fixes: carousel init bug
1 parent 31c9d9d commit 4c787a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/Carousel/Carousel.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ export const Carousel: FC<CarouselProps> = ({
151151
innerRef={carouselContainer}
152152
onEndScroll={handleDragging(false)}
153153
onStartScroll={handleDragging(draggable)}
154+
style={{
155+
overflowX: 'scroll'
156+
}}
154157
vertical={false}
155158
horizontal={draggable}
156159
>

0 commit comments

Comments
 (0)