YIZHUANG / react-multi-carousel

A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
MIT License
1.25k stars 286 forks source link

customRightArrow and customLeftArrow props not working #384

Open Youssef11296 opened 1 year ago

Youssef11296 commented 1 year ago

Bug Description

I tried replacing the left and right arrows with my own custom icons but it does not work, however, my passed icons to the custom props are JSX components.

I expected that the icons gonna be replaced, but, they basically disappeared, weird!!

anil1505 commented 1 year ago

Same here

deKadir commented 1 year ago

try adding position:absolute; z-index:10 for both buttons and for left button left:0; for right button right:0; and ensure that you have enough item count to swipe left or right

arieaditya commented 8 months ago

try adding position:absolute; z-index:10 for both buttons and for left button left:0; for right button right:0; and ensure that you have enough item count to swipe left or right

Thanks, this solution works for me

salihkesepara commented 3 weeks ago

Here CodeSandbox example.

https://t.ly/d6a_y