79259572

Date: 2024-12-06 22:53:57
Score: 1
Natty:
Report link

To avoid the overlapping, per SwiperJS Docs for Fade Effect, you want to use the prop of fadeEffect and set the value of crossFade to true to achieve what you want so your slides do not overlap.

import { Swiper } from 'swiper/react';

<Swiper
  effect={`fade`}
  fadeEffect={{ crossFade: true }} // this
  ...
/>

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BadCodes