Ricky
Ricky
@zoltan-mihalyi no worries, thanks for your work on this. The code looks good to me so I'll do some testing then we should be able to get this merged. I'll...
@zoltan-mihalyi yeah cool that makes sense to me. I'll get this reviewed and tweak the components so it can do any of the three.
@zoltan-mihalyi I've merged this into the `next` branch so I'll be able to pick up the three-way switch stuff. https://github.com/nerdyman/react-compare-slider/issues/136 it still open so progress can be tracked there. Thanks...
Thanks for opening the issue @MiracleHorizon. I'll see if I can find a workaround for this - I think I opted for this behaviour to adhere to how `` components...
@MiracleHorizon Allowing a completely custom callback function would be more flexible than a scroll prop, what do you think? E.g. ```tsx const Example = () => { const handleClick =...
@MiracleHorizon I found that if you do `ev.stopImmediatePropagation()` in a click handler on the button element it _does_ prevent the other event handlers from being fired so I'm thinking of...
@MiracleHorizon Going to close this since it looks like the workaround works well, thanks for raising the issue! The `reactCompareSliderRef.current.handleContainer` is now available in `3.1.0` so you should be able...
Thanks @ins2718 & @LefanTan, I did add `touch-action: none` for a reason though I can't remember why now, might have been a Firefox issue. I'll take a look at a...
`touch-action: none` was added to avoid the slider 'disconnecting' when you drag back and forth on touch devices. E.g. if you drag back and forth on Safari iOS without the...
Apologies @zoltan-mihalyi! Yeah still planning on doing the three way switch. I'll take a look this weekend.