Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

58
Views
no mousewheel but do need touchpad support for swiperjs

Swiperjs is awesome but how do I enable two finger swiping(touchpad) without turning on mousewheel control? Preferably only horizontal.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I was looking for the same answer. Trackpad is not a unique DOM event if I understand correctly. However

const mySwiperConfig = {
    mousewheel: {
        forceToAxis: true,
        ...
    },
    ...
}

worked well enough for me. This prohibits the swiper from picking up scrolling up and down on the page and translating it horizontally thru the slides. With this config only horizontal trackpad scroll activates the slider.

source: https://github.com/nolimits4web/swiper/issues/4442#issuecomment-822256851

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!