Comments (8)
change version to "react-image-lightbox": "3.4.1"
from react-image-lightbox.
Not sure if down grade is the right thing to do to fix the issue, but it works. Thanks @sopheakreth .
from react-image-lightbox.
I'm having the same issue, using "react": "^15.4.2"
, "react-dom": "^15.4.2"
.
from react-image-lightbox.
Same issue.
from react-image-lightbox.
Same issue too on 15.5.4.
from react-image-lightbox.
When I use the 3.4.1
version with react 15.5.3
, I get this other warning : Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
I guess we'll have to wait for a permanent fix then :)
from react-image-lightbox.
Apologies for the delayed fix. I think the issue was rooted in the placement of prop-types
in peerDependencies
. Not 100% sure about that, but it seems to be fixed now in my environment as of v3.5.0
from react-image-lightbox.
ahh, sorry to report I'm still seeing it in my project post-upgrade from 3.4.3
to 4.0.0
. I disabled babel cache to make sure it wasn't a caching issue.
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-image-lightbox": "^4.0.0",
here's details. sorry for ridiculously long file names--side effect of using recompose
:
Warning: Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types
in ReactImageLightbox (at ImageLightbox.js:45)
in ImageLightbox (created by withProps(ImageLightbox))
in withProps(ImageLightbox) (created by Relay(withProps(ImageLightbox)))
in Relay(withProps(ImageLightbox)) (at PhotosGrid.js:60)
in div (at PhotosGrid.js:56)
in withHandlers(branch(onlyUpdateForKeys(PhotosGrid))) (created by withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid)))))
in withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid)))) (created by withState(withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid))))))
in withState(withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid))))) (created by withProps(withState(withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid)))))))
in withProps(withState(withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid)))))) (created by Relay(withProps(withState(withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid))))))))
in Relay(withProps(withState(withState(withHandlers(branch(onlyUpdateForKeys(PhotosGrid))))))) (at SecretPhotosPanel.js:36)
in div (at SecretPhotosPanel.js:24)
in SecretPhotosPanel (created by Relay(SecretPhotosPanel))
in Relay(SecretPhotosPanel) (at SliderPanelSide.js:54)
in div (at SliderPanelSide.js:49)
in SliderPanelSide (created by withProps(SliderPanelSide))
in withProps(SliderPanelSide) (created by Relay(withProps(SliderPanelSide)))
in Relay(withProps(SliderPanelSide)) (at ListingCard.js:106)
in div (at ListingCard.js:97)
in div (created by Card)
in Card (at ListingCard.js:70)
in onlyUpdateForKeys(ListingCard) (created by withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))))
in withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))) (created by withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))))
in withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))) (created by withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))))))
in withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))))) (created by withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))))))
in withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))))) (created by withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))))))))
in withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))))))) (created by withHandlers(withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))))))))
in withHandlers(withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))))))) (created by withState(withHandlers(withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))))))))))
in withState(withHandlers(withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard)))))))))) (created by Relay(withState(withHandlers(withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))))))))))
in Relay(withState(withHandlers(withState(withState(withHandlers(withState(withHandlers(withProps(withProps(onlyUpdateForKeys(ListingCard))))))))))) (at ListingsGrid.js:38)
in div (at ListingsGrid.js:37)
in div (created by FlipMove)
in FlipMove (created by FlipMovePropConverter)
in FlipMovePropConverter (at ListingsGrid.js:31)
in div (at ListingsGrid.js:30)
in ListingsGrid (created by Relay(ListingsGrid))
in Relay(ListingsGrid) (at Dash.js:21)
in div (created by styled.div)
in styled.div (at Dash.js:20)
in withProps(withProps(Dash)) (created by Relay(withProps(withProps(Dash))))
in Relay(withProps(withProps(Dash))) (created by RouterContext)
in StaticContainer (created by RouteContainer)
in RouteContainer (created by RouterContext)
in div (created by styled.div)
in styled.div (at App.js:71)
in div (created by styled.div)
in styled.div (at App.js:67)
in div (created by styled.div)
in styled.div (at App.js:60)
in div (created by styled.div)
in styled.div (at App.js:58)
in App (created by Relay(App))
in Relay(App) (at routes.js:43)
in StaticContainer (created by RouteContainer)
in RouteContainer (created by RouterContext)
in RouterContext (created by Router)
in StaticContainer (created by RelayReadyStateRenderer)
in RelayReadyStateRenderer (created by RelayRenderer)
in RelayRenderer (created by RelayRouterContext)
in RelayRouterContext (created by Router)
in Router (at routes.js:35)
in _default (at Root.js:8)
in Root (at index.js:15)
from react-image-lightbox.
Related Issues (20)
- Click close button behave to be scroll to prev image
- Image cache issue on react image light
- usage of deprecated life cycle methods, getting warnings of the same HOT 4
- Library maintenance and improvements HOT 14
- Centering problem when page has a scrollbar
- Bad overlay..
- How can I put a link on the title just like the demo?
- Is Medium Zoom effect possible
- Doc improvement request for reactModalStyle
- Blinkin when pushing the button supposed to trigger the state set in onMoveNextRequest
- Animation Duration Is Blocking Prev/Next Button Clicks
- Missing "loader" in TypeScript Types
- Loading icon gets stuck in React 18 dev mode HOT 17
- Need custom component PR Merged
- Uncaught ReferenceError: global is not defined HOT 4
- Need thumbnail images on bottom of the screen
- Does it work with React 18? HOT 3
- Image not loading on launch when React.StrictMode is enabled. HOT 6
- Info: Proper typescript component React 18.2.0 and Gatsby With tailwind
- React 18 not supported. HOT 4
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-image-lightbox.