ZeeCoder/use-resize-observer
A React hook that allows you to use a ResizeObserver to measure an element's size.
TypeScriptMIT
Issues
- 1
Support React 19
#108 opened by osdiab - 21
- 0
- 14
- 5
- 1
- 11
Externalise useResolvedElement
#101 opened by bpinto - 9
Support getBoundingClientRect()
#96 opened by ivanjeremic - 9
export TS types
#98 opened by holic - 6
ResizeObserver loop limit exceeded
#38 opened by makenosound - 6
- 1
Is there any reason we should save this as a dev dependency instead of a runtime dep?
#95 opened by vedantroy - 9
support for SVG elements
#91 opened by khusamov - 7
- 3
onResize is not called on mount
#88 opened by lishine - 3
Basic usage is not working
#92 opened by andyperlitch - 5
- 2
- 0
- 1
Using the same ResizeObserver instance for all hooks for better performance
#84 opened by DanielGiljam - 2
Padding not taken into account ?
#57 opened by abernierloreal - 4
Rounded widths and heights
#61 opened by DrewVartanian - 9
rounding causes trouble...
#46 opened by jedierikb - 7
- 0
Offering throttled- and debounced variants
#53 opened by ZeeCoder - 5
Use a single ResizeObserver instance
#24 opened by ZeeCoder - 2
SSR HTMLDivElement is not defined in 7.0.0
#74 opened by DoctorEaker - 0
Simply doesnt seem to want to work with a simple component. Crashes even in the simplest usage.
#64 opened by davesargrad - 3
Dynamic array of elements
#60 opened by oscarsidebo - 3
Support for wrapped references?
#59 opened by bluenote10 - 3
Merge ref and callbackRef
#47 opened by ZeeCoder - 10
- 2
Does not work with conditional rendering
#43 opened by prjanja - 2
How should I use the use-resize-observer in case of useCallback instead of useRef
#45 opened by terpimost - 10
- 2
No way to set box sizing
#41 opened by hipstersmoothie - 1
Use polyfill for ResizeObserver
#33 opened by jacobdo2 - 5
Support in Safari
#30 opened by Simply1993 - 6
Add optional effect to useResizeObserver
#25 opened by danni - 3
Does not work with flexbox
#29 opened by ValentinKaisermayer - 4
Defaults are unnecessary code
#27 opened by Merri - 6
Add configurable debounce or throttling?
#19 opened by bristoljon - 3
Build without a polyfill
#14 opened by ZeeCoder - 0
Allow passing a ref in
#16 opened by ZeeCoder - 1
Removing width in declaration if don't needed
#21 opened by Piero87 - 1
Copyright missing from MIT license file
#18 opened by tvainio - 2
Can't pass sizes to parent components
#20 opened by corysimmons - 1
Add TypeScript Definitions
#17 opened by imransl - 0
- 1