From 6d3505aefa21817516d0dfc994c2db79a541d4c5 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 28 Mar 2023 11:31:42 -0400 Subject: [PATCH] fix property name --- src/internal/scroll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/scroll.ts b/src/internal/scroll.ts index 02dee14e3..9a1e299cf 100644 --- a/src/internal/scroll.ts +++ b/src/internal/scroll.ts @@ -32,7 +32,7 @@ export function unlockBodyScrolling(lockingEl: HTMLElement) { if (locks.size === 0) { document.body.classList.remove('sl-scroll-lock'); - document.body.style.removeProperty('--sl-scrollbar-width'); + document.body.style.removeProperty('--sl-scroll-lock-size'); } }