diff --git a/packages/overlayscrollbars-react/CHANGELOG.md b/packages/overlayscrollbars-react/CHANGELOG.md index 2b25167..db2adf7 100644 --- a/packages/overlayscrollbars-react/CHANGELOG.md +++ b/packages/overlayscrollbars-react/CHANGELOG.md @@ -4,7 +4,7 @@ ### Features -Added the possibility to `defer` the initialization to a point in time when the browser is idle. (or to the next frame if `window.requestIdleCallback` is unsupported) +Added the possibility to `defer` the initialization to a point in time when the browser is idle. (or to the next frame if `window.requestIdleCallback` is not supported) - `OverlayScrollbarsComponent` accepts now the `defer` property - `useOverlayScrollbars` params accept now the `defer` key - `useOverlayScrollbars` will now always try to destroy the instance if the component unmounts. diff --git a/packages/overlayscrollbars-react/src/OverlayScrollbarsComponent.tsx b/packages/overlayscrollbars-react/src/OverlayScrollbarsComponent.tsx index 0c6b554..21b2884 100644 --- a/packages/overlayscrollbars-react/src/OverlayScrollbarsComponent.tsx +++ b/packages/overlayscrollbars-react/src/OverlayScrollbarsComponent.tsx @@ -12,7 +12,7 @@ export type OverlayScrollbarsComponentProps { rafId = rAF(callback); } : callback, - typeof options === 'object' ? options : { timeout: 1500 } + typeof options === 'object' ? options : { timeout: 2233 } ); }, clear,