react-resize-detector
react-resize-detector copied to clipboard
A Cross-Browser, Event-based, Element Resize Detection for React
Hi Masianok, thanks for the library. I have the following problem: ``` const [result, reexecuteQuery] = useGetMissionsTimeLineQuery({ variables: { id: "7d99fb36-936b-4f40-81e6-0cbfce5190da", isActive: true, memberId: "xxxx", }, }); const { data,...
I am getting a lot of "ResizeObserver loop limit exceeded" exceptions reported from my users (through Sentry). It seems to only come from Chrome 64+ on mobile (so no polyfill)....
https://codesandbox.io/s/charming-lewin-6rnvj?file=/src/App.js `React.lazy` automatically forwards refs, so it should be fine to just wrap a component and still get the ref. However, `react-resize-detector` doesn't get the delayed ref, because it isn't...
Hi there, we are maintaining a complex application that uses mainly class components. Most of these components use a complex state and lifecyle. Up to now, we were using react-resize-detector...
Hi, Thanks for great work! After updating from 8.1.0 to 9.1.0 I've started to see `ResizeObserver loop limit exceeded` error.  I needed to add `refreshMode` and `refreshRate` options for...
According to the documentation, we can pass ObserverOptions https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe But when using `box: 'border-box'` the width returned by the hook is always `contentBox`
V11
This PR introduces several changes to the `react-resize-detector` library, including functional improvements, better handling of parameters, maintenance updates, and the addition of an interactive playground. ## ✨ Functional Changes -...