Skip to content

Commit d4ad41d

Browse files
Merge pull request #1 from abdulbasithqb/carousel-init-bug
fix: carousel init bug
2 parents 2c2fa52 + 350d4e9 commit d4ad41d

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)