react-compare-slider
react-compare-slider copied to clipboard
Try using percentage units everywhere instead of percentage and pixel mix
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:
boundsPaddingshould still be respected