perfect-layout
perfect-layout copied to clipboard
Disappearing content
Well, I have run into an issue where the entire content disappears under certain conditions. To see this happen in the codepen demo, do the following:
- go to this fork of the original demo, that is exactly the same, but has only three photos
- decrease height of the gallery viewport (by dragging the horizontal divider) until it's smaller than the height of the photos
BAM! The contents disappears. This is problem chiefly with galleries that contain only one photo (yes, such thing exists in my use case). Issue verified in Chrome and Firefox.