remove RAFs

This commit is contained in:
Cory LaViska
2021-10-19 09:52:41 -04:00
parent 25aa8318d9
commit f56b6c0648

View File

@@ -129,7 +129,7 @@ export default class SlRange extends LitElement {
this.value = Number(this.input.value);
emit(this, 'sl-change');
requestAnimationFrame(() => this.syncRange());
this.syncRange();
}
handleBlur() {
@@ -146,7 +146,7 @@ export default class SlRange extends LitElement {
this.invalid = !this.input.checkValidity();
}
requestAnimationFrame(() => this.syncRange());
this.syncRange();
}
@watch('disabled')