yaodingyd / react-flickity-component

A React.js component for using @desandro's Flickity
314 stars 51 forks source link

Fix initial active state #110

Closed leo-cheron closed 3 years ago

leo-cheron commented 4 years ago

Calling Flickity activate() on componentDidMount() breaks watchCSS option. This fix prevent calling it if component is not already active.

resolves #109

juanvisbal commented 4 years ago

Is there a possibility this can be merged soon?