3 ms·
Double clicking in the slider moves it to that double clicked point. Double clicking on the same spot to undo or return to the before position seems like intuit
by downvotetruth 3y ago
Double clicking in the slider moves it to that double clicked point. Double clicking on the same spot to undo or return to the before position seems like intuitive missing functionality.
- moritzwarhier 3y agoYou only have to click/tap once, right? At least on mobile. Or was this changed? Honestly that "undo" thing sounds like the least intuitive feature in the world to me. Would just seem like glitchy behavior to me. Regarding OP: > If you're ever in the position to provide a comparison of two images in a Web page like this, please consider providing a button to toggle back and forth between the two. (The toggling can also show the label for which is currently being shown.) > Neither mechanism this Web page provides is as useful as that, IMHO. But the "show only left/right" buttons below the slider do exactly that, no? The 0.5s animation would not be needed ok. And the labels are not clear. A single toggle button with changing label would be great, I agree > TBH I've always like the little 'wiper' widget that I can control and swipe back and forth at my own volition. The part that's missing here is the drag function right. Also, the sliding thing can be selected like text. Good example for something where using polished components is better than one/off code, IMO. E.g. something like this https://img-comparison-slider.sneas.io/examples.html https://img-comparison-slider.sneas.io/examples.html Agree with OP about the button thing, that's really the clearest and simplest thing and should be added to such a component for better discoverability and to make the slider thing optional
- downvotetruth 3y agoAdding a label is a waste of space when the functionality is known.