Comments (8)
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.
@yifaneye It works perfectly now! awesome!
谢谢你的帮助!
from react-gallery-carousel.
Awesome! love the carousel btw, really great work.
多谢!
from react-gallery-carousel.
Thank you for your appreciation!
不用谢!😊
from react-gallery-carousel.
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.
Hi @yifaneye, thanks for the reply! I have updated, Unfortunately it still isn't working :( the same problem persists.
from react-gallery-carousel.
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.
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.
from react-gallery-carousel.
Related Issues (20)
- Invalid or unexpected token HOT 8
- Issues lazy loading images in gallery HOT 9
- How to use array of photos in carousel user managed slide ? HOT 1
- Allow thumbnails to be at the side HOT 4
- Carousel Button Titles HOT 2
- Typo: minIcon Typescript type is not accepted by Carousel Component HOT 5
- The component can't be used in a TS React project HOT 1
- Npm install doesnt work currently HOT 3
- npm install doesnt work on react-gallery-carousel/example/ HOT 3
- Cant make this module work HOT 4
- shouldMaximizeOnClick doesn't work HOT 2
- Add option for scroll bar for thumbnails HOT 3
- shouldSwipeOnMouse block onTap handler HOT 3
- Maximize and minimize using soft touch on trackpad HOT 5
- Transitions aren't working HOT 1
- Slides that have an a-tag inside them aren't clickable on mobile HOT 1
- Expose a prop to allow a custom placeholder image HOT 8
- Only show the first image HOT 4
- Pause on Hover HOT 2
- Pictures don't appear properly when sliding
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-gallery-carousel.