GithubHelp home page GithubHelp logo

Comments (7)

Balyasov avatar Balyasov commented on June 12, 2024 2

Try to add key to the OwlCarousel

<OwlCarousel key={`carousel_${this.props.articles.length}`} items={4}>
  {this.props.articles.map(
    (article, key) => (
      <div className="item" key={key}>
        ...
      </div>
    )
  )}
</OwlCarousel>

from react-owl-carousel.

chulphan avatar chulphan commented on June 12, 2024

Same issue. Did you solve it?

from react-owl-carousel.

annamasc avatar annamasc commented on June 12, 2024

@chulphan We tried a few things with no luck at all, let me know if you come up with something! If we can't find a solution before our release we'll have to change libraries

from react-owl-carousel.

chulphan avatar chulphan commented on June 12, 2024

@Balyasov Wow!!!! It's work for me!! thank you very much.

from react-owl-carousel.

sahilchopra avatar sahilchopra commented on June 12, 2024

Any other approach for this?
In async rendering some time it is working or some time not by adding key (with a dynamic value )

Thanks

from react-owl-carousel.

joseluismurillorios avatar joseluismurillorios commented on June 12, 2024

Same issue, translations (state changes) not working on first render

from react-owl-carousel.

Shubhamdutta2000 avatar Shubhamdutta2000 commented on June 12, 2024

I was facing same prblm its fixed by adding key to OwlCarousal component. Bt what actually happen and why its solved by adding key to component

from react-owl-carousel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.