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

Thanks & a few questions #3

Open
raRaRa opened this issue Sep 27, 2018 · 1 comment
Open

Thanks & a few questions #3

raRaRa opened this issue Sep 27, 2018 · 1 comment

Comments

@raRaRa
Copy link

raRaRa commented Sep 27, 2018

Not an issue, just wanted to say thanks for this great component. I've been looking through so many lightbox components/libs and they all have so many dependencies and don't work as good as this one. Good job! 👍

That being said, are there any plans or road map for this component. It would be really cool to support multiple images. So that you could move between images in the lightbox. If help is needed then I could probably help out.

Another cool thing to support is minimal CSS animations, e.g. opacity/transform when opening or closing the lightbox.

@aautio
Copy link
Owner

aautio commented Oct 26, 2018

Thanks @raRaRa! There is no concrete roadmap, but I hop to keep the component small, light and dependency-free when going forward.

Having a possibility to move between images as you say would be great. I'm not working on it, but PR's and prototypes in that area would be a welcome addition.

Some minimal CSS animations would be great! Now the css styles for the Lightbox are being injected into the head when the Lighbox is being opened: https://github.com/aautio/react-modal-image/blob/master/src/styles.js. Thus it might be quite straightforward to add them with plain CSS. Would you have links/info on how they could be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants