• Elias Cohenca's avatar
    perf(): Remove inside onChange event · 6ca68cb3
    Elias Cohenca authored
    When the callback run while changing the slider takes a certain amount of time (~50 ms or more), the
     inside onChange can stall resulting in many changes lost along the way while it catches up.
    Removing seems to have no visible side effects. It might be possible that this is due to
    scope.() being called right before callOnChange(), so the model is updated anyway (see in
    applyModel)
    6ca68cb3
rzslider.min.js 21.6 KB