79778166

Date: 2025-09-29 13:36:28
Score: 1.5
Natty:
Report link

late to the party but as i ran into the same i found this in the swiper docs:

https://swiperjs.com/swiper-api#mousewheel-control

answer by @mikrec works perfectly but if inside tag you can also do the following:

<Swiper
modules={[Mousewheel]}
mousewheel={{ forceToAxis: true }}
</Swiper>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @mikrec
  • Low reputation (0.5):
Posted by: Diorcula