Skip to content

Commit 9fd1f8c

Browse files
committed
fix a bug where the scrollbar size was not update on body scrollbars
1 parent 9cb3e22 commit 9fd1f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/overlayscrollbars/src/setups/observersSetup/observersSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export const createObserversSetup = (
290290
const onWindowResizeDebounced = debounce(
291291
() => {
292292
const [, _contentMutation] = updateContentSizeCache();
293-
onObserversUpdated({ _contentMutation });
293+
onObserversUpdated({ _contentMutation, _sizeChanged: _isBody });
294294
},
295295
{
296296
_debounceTiming: 222,

0 commit comments

Comments
 (0)