You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to get this once, then re installed the the gallery and i can't seem to get it anymore. i'll push a div with a space in it which should fix it complaining its empty.
In docs says "SSR app compatible".
Is this right?
Gallery component initialize with containerWidth = 0; https://github.com/neptunian/react-photo-gallery/blob/master/src/Gallery.js#L9
In render, if containerWidth == 0, return empty div. https://github.com/neptunian/react-photo-gallery/blob/master/src/Gallery.js#L37
Result: SSR return empty div anyway.
If i set state.containerWidth = 1200, yes, rendering fine.
P.S. it`s become from ^6.2.0. Older versions works fine too.
The text was updated successfully, but these errors were encountered: