Replies: 1 comment
-
For the thumbnails, this worked for me:
and for the bigger images this:
A little late but hope this helps :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What to do when your gallery is composed of images varying wildly in size? i keep having the controls going all over the place due to this, I tried setting the originalWidth and Height props but if I do so it breaks on mobile, using a tag
style={objectFit: 'fill'}
helps but it's not perfect, is this just a limitation of the library when your images vary a lot in size?This is my current implementation
Beta Was this translation helpful? Give feedback.
All reactions