slider icon indicating copy to clipboard operation
slider copied to clipboard

Pushable feature - min range can be skipped with axis click

Open tasiek opened this issue 8 years ago • 2 comments

Pushable's range can be "cheated" with clicking on axis. I suppose it's not a desirable behaviour.

rc-slider-range-pushable-axis-click

In this example, pushable's range is set to 250.

tasiek avatar Jan 04 '17 11:01 tasiek

@tasiek do you mean you set props.step=250 ?

all range demo can be click to trigger, see this http://react-component.github.io/slider/examples/range.html

i think it's a useful feature

paranoidjk avatar Feb 27 '17 10:02 paranoidjk

@paranoidjk No, i mean setting pushable to a number (250, in my case). Then 250 should be a minimal possible range, and i'm able to omit that with clicking. I was checking the code and there's no pushable feature checked when clicking on axis (probably onStart method)

tasiek avatar Feb 27 '17 10:02 tasiek