We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b5640a commit 08397dcCopy full SHA for 08397dc
src/definitions/modules/slider.js
@@ -493,7 +493,7 @@
493
resize: function (_event) {
494
// To avoid a useless performance cost, we only call the label refresh when its necessary
495
if (gapRatio !== module.get.gapRatio()) {
496
- module.setup.labels();
+ module.resync();
497
gapRatio = module.get.gapRatio();
498
}
499
},
@@ -507,11 +507,11 @@
507
508
resync: function () {
509
module.verbose('Resyncing thumb position based on value');
510
+ module.setup.labels();
511
if (module.is.range()) {
512
module.update.position(module.secondThumbVal, $secondThumb);
513
514
module.update.position(module.thumbVal, $thumb);
515
516
takeStep: function (multiplier) {
517
if (!multiplier) {
0 commit comments