SwiftRangeSlider icon indicating copy to clipboard operation
SwiftRangeSlider copied to clipboard

Knobs are stucked when moved softly

Open michalcickan opened this issue 6 years ago • 0 comments

When I move knob very softly, then knob get stucked(remains highlighted) and when aj start draging second knob, it moves both knobs. It's because event endTracking is not called, when move is very soft and is called only event cancelTracking, which is not true. I added this function to RangeSlider view and everything seems to work properly.

override open func cancelTracking(with event: UIEvent?) {
        super.cancelTracking(with: event)
        
        endTracking(nil, with: event)
}

Is there possibility to fix this, please?

michalcickan avatar Dec 11 '18 11:12 michalcickan