Git Product home page Git Product logo

Comments (8)

yifaneye avatar yifaneye commented on May 24, 2024 2

Hi @Lewis-Seekio ! Thank you for bringing this issue up! 😄

I replicated the issue you are having locally. I then found that there is something wrong in the code, in line 5 of src/utils/useSlides.js.

I edited that file and tried locally and the issue is gone on my machine. I will get this issue fixed and publish a new version before this coming weekend. 👨🏻‍💻 I will notify you for the new version.

from react-gallery-carousel.

Lewis-Seekio avatar Lewis-Seekio commented on May 24, 2024 2

@yifaneye It works perfectly now! awesome!

谢谢你的帮助!

from react-gallery-carousel.

Lewis-Seekio avatar Lewis-Seekio commented on May 24, 2024

Awesome! love the carousel btw, really great work.

多谢!

from react-gallery-carousel.

yifaneye avatar yifaneye commented on May 24, 2024

Thank you for your appreciation!

不用谢!😊

from react-gallery-carousel.

yifaneye avatar yifaneye commented on May 24, 2024

Hi @Lewis-Seekio! I fixed this issue and published a new version. Please install this new version by npm install [email protected] --save. In this version, I "fixed a bug where image URLs those are not known ahead of time cannot be placed into the carousel".

from react-gallery-carousel.

Lewis-Seekio avatar Lewis-Seekio commented on May 24, 2024

Hi @yifaneye, thanks for the reply! I have updated, Unfortunately it still isn't working :( the same problem persists.

image

from react-gallery-carousel.

Lewis-Seekio avatar Lewis-Seekio commented on May 24, 2024

My package.json:

{
    "name": "amazon-clone",
    "version": "0.1.0",
    "private": true,
    "dependencies": {
        "@material-ui/core": "^4.11.3",
        "@material-ui/icons": "^4.11.2",
        "@testing-library/jest-dom": "^5.11.10",
        "@testing-library/react": "^11.2.6",
        "@testing-library/user-event": "^13.1.1",
        "axios": "^0.21.1",
        "classnames": "^2.3.1",
        "firebase": "^8.3.2",
        "github": "^14.0.0",
        "react": "^17.0.2",
        "react-currency-format": "^1.0.0",
        "react-dom": "^17.0.2",
        "react-firebase-hooks": "^3.0.3",
        "react-gallery-carousel": "^0.1.1",
        "react-images-upload": "^1.2.8",
        "react-router": "^5.2.0",
        "react-router-dom": "^5.2.0",
        "react-scripts": "4.0.3",
        "sass": "^1.32.8",
        "uuid": "^8.3.2",
        "web-vitals": "^1.1.1"
    },
    "scripts": {
        "start": "react-scripts start",
        "build": "react-scripts build",
        "test": "react-scripts test",
        "eject": "react-scripts eject"
    },
    "eslintConfig": {
        "extends": [
            "react-app",
            "react-app/jest"
        ]
    },
    "browserslist": {
        "production": [
            ">0.2%",
            "not dead",
            "not op_mini all"
        ],
        "development": [
            "last 1 chrome version",
            "last 1 firefox version",
            "last 1 safari version"
        ]
    }
}

from react-gallery-carousel.

yifaneye avatar yifaneye commented on May 24, 2024

Hi @Lewis-Seekio ! Thank you for trying the patch version! I am sorry to hear it still does not work for you! I made an example (example 3) at https://github.com/yifaneye/react-gallery-carousel/blob/master/example/src/App.js . Please try setImages at once in your useEffect hook i.e. setImages(listing.listingPhotos.map(image => ({ src: image });

Please see the following screen shot.
SS 2021-04-10 at 15 51 14

from react-gallery-carousel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.