-
-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only update model onEnd. #425
Comments
...or something similar to debounce |
Could you please share you slider options? |
$scope.scoreSlider = {
options: {
floor: 0,
ceil: 99,
hideLimitLabels: true,
showTicks: 30,
getLegend: function (value) {
var ticks = [0, 30, 60, 90];
if (ticks.includes(value)) {
return '> ' + value;
} else {
return null;
}
}
}
}; |
Do you have watchers on the score value? |
One {{:scoreThreshold}} in another div shown when the slider is hidden |
Have you try commenting the |
added a ng-show fn call (for debugging purposes) to the rz-slider directive and it was getting called 30+ times on a slide |
We could add an option to call |
Has anybody figured out a workaround for this yet? My slider values are being used to filter an ng-repeat and the filter ie being called for every single tick the slider makes while sliding. |
Unfortunately the option is not available yet. I don't know if I'll add it one day... If you want you can provide a PR for it if you really need it. ;) |
@Battleaxe19
@ValentinH Thanks for the awesome slider btw :) |
I'm not sure why you'd use |
Steps to reproduce
Expected @behaviour
Tell us what should happen
Slider handle should keep up with dragging
Actual behaviour
Tell us what happens instead
slider Handle lags behind #cursor
The text was updated successfully, but these errors were encountered: