react-resize-detector icon indicating copy to clipboard operation
react-resize-detector copied to clipboard

A Cross-Browser, Event-based, Element Resize Detection for React

Results 7 react-resize-detector issues
Sort by recently updated
recently updated
newest added

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...

question

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. ![image](https://user-images.githubusercontent.com/193286/236850960-26215e4e-d83a-448d-927c-4d5e2d619da2.png) I needed to add `refreshMode` and `refreshRate` options for...

bug

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`

bug
enhancement
help wanted

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 -...

enhancement