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

Cant make this module work #73

Open
damdafayton opened this issue May 1, 2022 · 4 comments
Open

Cant make this module work #73

damdafayton opened this issue May 1, 2022 · 4 comments
Assignees
Labels
bug Something isn't working cannot replicate We can't replicate the issue

Comments

@damdafayton
Copy link

Hi,
the live example looks really nice but

  • the example in clone from repo doesn't work with npm start
  • it doesn't render correctly when I install the library into my own project.

I don't know whats wrong but its pity that such nice looking library can not be implemented smoothly.

@yifaneye
Copy link
Owner

yifaneye commented May 5, 2022

Hi @damdafayton ! Thank you for raising this issue up.

I can't reproduce your bugs. Can you give more information?

@yifaneye
Copy link
Owner

yifaneye commented Oct 15, 2022

Hi @damdafayton !

Regarding

the example in clone from repo doesn't work with npm start

It should be fixed in Issue #72

Regarding

it doesn't render correctly when I install the library into my own project.

Would you like to give me some more information? I am happy to help you. 😃

@yifaneye yifaneye added cannot replicate We can't replicate the issue bug Something isn't working labels Oct 15, 2022
@yifaneye yifaneye added this to To do in react-gallery-carousel via automation Oct 15, 2022
@hamez0r
Copy link

hamez0r commented Aug 1, 2023

Hi! I'm trying to make it work here, but no luck :(
https://codesandbox.io/s/rough-silence-ggzckp?file=/src/App.js

I wasn't importing the CSS. @damdafayton maybe that was your issue too?

@yifaneye
Copy link
Owner

yifaneye commented Sep 4, 2023

Yes. Currently, we need to import the CSS from the package by adding import 'react-gallery-carousel/dist/index.css';. See https://github.com/yifaneye/react-gallery-carousel#usage
Adding the line at https://codesandbox.io/s/runtime-rgb-pk9mqj?file=/src/App.js makes the carousel work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot replicate We can't replicate the issue
Development

No branches or pull requests

3 participants