From f56b6c064869fd2cc49ee1093cb3ac0f817b1202 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 19 Oct 2021 09:52:41 -0400 Subject: [PATCH] remove RAFs --- src/components/range/range.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/range/range.ts b/src/components/range/range.ts index bb9d3b82..a1fbffe3 100644 --- a/src/components/range/range.ts +++ b/src/components/range/range.ts @@ -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')