diff --git a/src/ResizeListener.js b/src/ResizeListener.js index 5d09073..a1ec62e 100644 --- a/src/ResizeListener.js +++ b/src/ResizeListener.js @@ -13,6 +13,8 @@ const style = { overflow: 'hidden', pointerEvents: 'none', zIndex: -1, + maxHeight: 'inherit', + maxWidth: 'inherit', }; // This automatically attaches to itself the resize event listener