Comments (5)
Hi @stephen-last, I've moved the event bindings to componentDidMount and I believe it will be enough to fix your problem. Try the latest version (3.1.2) and let me know if you still have issues ;)
Cheers
from react-responsive-carousel.
Hi @stephen-last, I haven't implemented yet because I never needed. Making it SSR compatible shouldn't be a big deal. Probably just moving what is on componentWillMount
to componentDidMount
should be enough.
Unfortunately, I don't have any available time to do the changes but, if you keen on fixing it, I would happily approve a Pull Request.
from react-responsive-carousel.
@leandrowd Thanks for the fast reply... Unfortunately I don't have the time either, I'm on the look out for a carousel that works for me right now. I'll keep this repo in mind though and may come back later when I do have time.
Thanks again!
from react-responsive-carousel.
I'm closing this issue as per the comment above. Feel free to reopen if you have issues.
from react-responsive-carousel.
@leandrowd Morning! Really sorry for the late response. I've just tried this and it works now, server rendering nicely, so you can add that to your list of features. Many thanks for your time on this! :-)
from react-responsive-carousel.
Related Issues (20)
- InfiniteLoop Issue HOT 1
- Swipe speed HOT 2
- Thumb Images Can't Be Shown? HOT 3
- Autoscroll Mouse Down Expected Behavior? HOT 2
- NEXT 13.4.5: Uncaught TypeError: Super expression must either be null or a function, not undefined HOT 6
- Does the library support swiping with gestures? HOT 1
- Recalculate sizes when resize browser HOT 1
- Initially displaying wrong item and skipping next item on autoplay HOT 2
- If InfiniteLoop is true, it comes out from the end of data HOT 3
- height of carousel collapses after reaching the last image - what am I doing wrong? HOT 1
- How can i prevent vertical scroll on mobile? HOT 3
- [Ui]: Change the banner to an icon HOT 2
- Add indicatorContainer props to ease indicator positioning HOT 1
- Android/Firefox : Swiping on the last image make the gallery bug HOT 2
- Getting This localhost page canβt be found on yarn start HOT 1
- There is no way to remove 'role' attribute out of li or change li to another HTML elements from 'renderThumbs' props
- Got an error when using with Astrojs in .astro file
- Transition time for Autoplay and Swipe
- onSwipeStart, onSwipeEnd and onSwipeMove don't work
- Carousel' cannot be used as a JSX component Error if using yarn2 pnp mode with typescript
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-responsive-carousel.