react-compare-slider icon indicating copy to clipboard operation
react-compare-slider copied to clipboard

Try using percentage units everywhere instead of percentage and pixel mix

Open nerdyman opened this issue 3 years ago • 0 comments

Since we're now using clip-path we can use % units instead of pixels. This may remove the need for the ResizeObverser in the main component as the percentage value will still be the same even when the component resizes.

This should hopefully resolve the Safari increment issue from #69

Considerations:

  • boundsPadding should still be respected

nerdyman avatar Oct 05 '22 11:10 nerdyman