react-spring-lightbox
react-spring-lightbox copied to clipboard
📷 A flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations, built with react-spring.
Also tweaked eslintrc to fix line endings
named export for ImageStage
- updated ImageStage to have named export. - fixed small type typo in ImageStage.
@tim-soft I also thought about adding swipe bottom-to-top to dismiss would be very UX friendly. _Originally posted by @tim-kozak in https://github.com/tim-soft/react-spring-lightbox/issues/25#issuecomment-785065037_
## What happened There is a strange issue when installing with NPM that it requires 2 `npm i` when the repo is clean. A minimal reproducible example is at https://github.com/pswai/react-spring-lightbox-install-issue...
It would be great to make this configurable. Because in some cases it requires a bit more effort to slide than expected.
On such implementation ``` closeLightbox()} images={photoGallery.photos} /> ``` When viewerIsOpen is true, the modal opens and starts downloading every elements of images. If there is a lot of elements, it...
Version: 1.4.11  Swiping left and right will output this error. Tried older versions of the library, but no solution so far.