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

208
Views
Is there any way i can change owl carousel autoplay direction in reactjs?

Currently both of these owl carousels move in the same direction (right to left). My code looks like this,I want one of these carousels to move in the opposite direction (left to right) on autoplay. I couldn't find anything in the documentations.

  const imageSlider = datajson.map((item) => {
    return (
      <div className="item cards">
        <img src={item.image} alt="" />
        <div className="body_text">
          <h5>{item.title}</h5>
          <p>{item.description}</p>
        </div>
      </div>
    );
  });

  return (
    <>
      <OwlCarousel
        className="owl-theme"
        loop
        margin={10}
        nav={false}
        autoplay={true}
        autoplayTimeout={2000}
        autoplayHoverPause={true}
        items={4}
        dots={false}
      >
        {imageSlider}
      </OwlCarousel>
      <br />
      <OwlCarousel
        className="owl-theme"
        loop
        margin={40}
        nav={false}
        autoplay={true}
        autoplayTimeout={2000}
        autoplayHoverPause={true}
        items={4}
        dots={false}
      >
        {imageSlider}
      </OwlCarousel>
    </>
  );
};
about 4 years ago · Juan Pablo Isaza
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!