-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or requesthas workaroundIssue has a viable workaroundIssue has a viable workaround
Description
Hey, I'm trying to use this lib, which looks pretty good, although I'm missing a small feature
I was using react-compare-image before, and it has this aspectRatio
prop feature, allowing for the slider to look fine when images aspect ratios differ, and therefore being able to view both images in full size.
Here's their examples:
https://react-compare-image-git-master-junkboy0315.vercel.app/?path=/story/images-with-different-aspect-ratios--default-behavior
I created a sandbox showing the current behavior
https://codesandbox.io/p/devbox/infallible-shape-t5p8tl?file=/src/App.tsx:16,10
Would it be possible for you to add such feature? Or is it already possible? And if it is, how to set it up?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthas workaroundIssue has a viable workaroundIssue has a viable workaround