kopia lustrzana https://github.com/shoelace-style/shoelace
remove RAFs
rodzic
25aa8318d9
commit
f56b6c0648
|
@ -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')
|
||||
|
|
Ładowanie…
Reference in New Issue