You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this demo https://codesandbox.io/s/react-swipeable-image-carousel-hben8 in my project, but I need to reduce the width of each slide. I tried to set the width, but this made the space between each slide larger. I also tried to add the condition if (!props.sliding) return "none" at the component.tsx, this reduced the space but made the swipe effect not smooth.
Could you please tell me the way to change the width of the slide without making the space between each slide larger?
Thank you.
Regards,
Elva
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to use this demo https://codesandbox.io/s/react-swipeable-image-carousel-hben8 in my project, but I need to reduce the width of each slide. I tried to set the width, but this made the space between each slide larger. I also tried to add the condition if (!props.sliding) return "none" at the component.tsx, this reduced the space but made the swipe effect not smooth.
Could you please tell me the way to change the width of the slide without making the space between each slide larger?
Thank you.
Regards,
Elva
The text was updated successfully, but these errors were encountered: