diff --git a/packages/overlayscrollbars/src/setups/structureSetup/updateSegments/overflowUpdateSegment.ts b/packages/overlayscrollbars/src/setups/structureSetup/updateSegments/overflowUpdateSegment.ts index 9ab36d8..8a5a00c 100644 --- a/packages/overlayscrollbars/src/setups/structureSetup/updateSegments/overflowUpdateSegment.ts +++ b/packages/overlayscrollbars/src/setups/structureSetup/updateSegments/overflowUpdateSegment.ts @@ -79,8 +79,8 @@ const getOverflowAmount = ( }; return { - w: amount.w >= tollerance ? amount.w : 0, - h: amount.h >= tollerance ? amount.h : 0, + w: amount.w > tollerance ? amount.w : 0, + h: amount.h > tollerance ? amount.h : 0, }; };