From d50b46e163563c591fe675610b7a66a11ae18a37 Mon Sep 17 00:00:00 2001 From: Rene Haas Date: Thu, 23 May 2024 16:57:30 +0200 Subject: [PATCH] remove max delay for window resize debounce --- .../src/setups/observersSetup/observersSetup.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/overlayscrollbars/src/setups/observersSetup/observersSetup.ts b/packages/overlayscrollbars/src/setups/observersSetup/observersSetup.ts index 431d1f54..4d835c66 100644 --- a/packages/overlayscrollbars/src/setups/observersSetup/observersSetup.ts +++ b/packages/overlayscrollbars/src/setups/observersSetup/observersSetup.ts @@ -301,8 +301,7 @@ export const createObserversSetup = ( onObserversUpdated({ _contentMutation }); }, { - _timeout: 333, - _maxDelay: 666, + _timeout: 222, _leading: true, } );