Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"infinite plugin doesn't work" #728

Open
taffarelemilio opened this issue Jul 27, 2021 · 1 comment
Open

"infinite plugin doesn't work" #728

taffarelemilio opened this issue Jul 27, 2021 · 1 comment

Comments

@taffarelemilio
Copy link

If 'infinite' is active, the carousel disapeears on scroll.

@morsaken
Copy link

when using the "infinite" plugin, it works but this error throws:

react-dom.development.js?61bb:67 Warning: Cannot update a component (`re`) while rendering a different component (`wi`). To locate the bad setState() call inside `wi`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
    at wi (webpack-internal:///./node_modules/@brainhubeu/react-carousel/lib/react-carousel.js:2:120926)
    at u (webpack-internal:///./node_modules/@brainhubeu/react-carousel/lib/react-carousel.js:2:93945)
    at i (webpack-internal:///./node_modules/@brainhubeu/react-carousel/lib/react-carousel.js:2:125859)
    at withResizeDetector(undefined)
    at Ri (webpack-internal:///./node_modules/@brainhubeu/react-carousel/lib/react-carousel.js:2:128466)
    at RecoilRoot (webpack-internal:///./node_modules/@brainhubeu/react-carousel/lib/react-carousel.js:2:64605)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants