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
Container's aspect ratio decision logic has changed.
With previous versions(version 0, 1), When displaying two images with different aspect ratios, container's aspect ratio was determined by the aspect retio of the right side image
From version 2, container size will be determined by taller image's aspect ratio.
You can change this behavior by setting aspectRatio props to 'taller' or 'wider'.
'taller' means:
the taller image when the images are displayed with the same width.
'wider' means:
the shorter image when the images are displayed with the same width.
In other words, the wider image when the images are displayed with the same height.
New Features
Add vertical comparison feature. use the 'vertical' prop.