react-native-lightbox icon indicating copy to clipboard operation
react-native-lightbox copied to clipboard

[Feature request] Cycle through images

Open jonolock91 opened this issue 9 years ago • 9 comments

Would it be possible to pass the popup lightbox an array of images, which could be scrolled through in fullscreen view?

jonolock91 avatar Jan 05 '16 16:01 jonolock91

+1

sslash avatar Feb 01 '16 12:02 sslash

+1, this seems essential

braco avatar Feb 29 '16 19:02 braco

+1

dvdhsu avatar Mar 03 '16 10:03 dvdhsu

See this comment: https://github.com/oblador/react-native-lightbox/issues/8#issuecomment-160352712

oblador avatar Mar 03 '16 10:03 oblador

+1 - I'm currently attempting something similar using react-native-swiper, but I'd love to use it baked-in.

schmoove avatar Mar 04 '16 19:03 schmoove

+1

andue avatar Mar 08 '16 20:03 andue

In lieu of this being added, could someone recommend how to dynamically add images (ie from an API) to a carousel within "renderContent"?

I'm using "onOpen" to make the API call, but unsure how best to dynamically inject the images for "renderContent" to display.

Thanks

schmoove avatar Mar 08 '16 21:03 schmoove

@schmoove: Why not use the branch that I linked to? Do you have android support requirement?

oblador avatar Mar 08 '16 22:03 oblador

@oblador eventually, but for now I'll try the other branch - thanks!

schmoove avatar Mar 08 '16 22:03 schmoove