diff --git a/packages/react-core/src/helpers/resizeObserver.tsx b/packages/react-core/src/helpers/resizeObserver.tsx index 9f5aa7cbd95..df628d5ef07 100644 --- a/packages/react-core/src/helpers/resizeObserver.tsx +++ b/packages/react-core/src/helpers/resizeObserver.tsx @@ -1,4 +1,4 @@ -import { canUseDOM, debounce } from './util'; +import { canUseDOM } from './util'; /** * This function creates a ResizeObserver used to handle resize events for the given containerRef. If ResizeObserver @@ -83,7 +83,7 @@ export const getResizeObserver = ( if (useRequestAnimationFrame) { window.requestAnimationFrame(() => { if (Array.isArray(entries) && entries.length > 0) { - debounce(handleResize, 100); + handleResize(); } }); // Avoid wrapping function in requestAnimationFrame if the function is debounced