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

I want to add carousel in my gatsby website but it uses window object so i am unable to handle this.how can i put carousel in my website? please give me solution #8015

Closed
amit-deligence opened this issue Sep 10, 2018 · 2 comments
Labels
type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@amit-deligence
Copy link
Contributor

Description

Describe the issue that you're seeing.

Steps to reproduce

Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).

Expected result

What should happen?

Actual result

What happened.

Environment

Run gatsby info --clipboard in your project directory and paste the output here. Not working? You may need to update your global gatsby-cli - npm install -g gatsby-cli

@amit-deligence amit-deligence changed the title I want to add carousel in my gatsby website but it uses window object so i am unable to handle this.how can i put carousel in my website I want to add carousel in my gatsby website but it uses window object so i am unable to handle this.how can i put carousel in my website? please give me solution Sep 10, 2018
@Defite
Copy link
Contributor

Defite commented Sep 10, 2018

I think this is your solution.

@kakadiadarpan
Copy link
Contributor

Hi @amit-deligence, you can use any of the available open-source React Carousel components for this. Some of them being:

There are other open source solutions as well which you are free to use. You can also use css snap points to do this, please check this article for more information.

@kakadiadarpan kakadiadarpan added the type: question or discussion Issue discussing or asking a question about Gatsby label Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

3 participants