bootstarted / react-resize-observer

Component for giving you `onResize`.
MIT License
48 stars 1 forks source link

Fix bug preventing onPosition callback from firing #6

Closed 10xjs closed 6 years ago

10xjs commented 6 years ago

The switch from findDOMNode to ref callbacks introduced a bug preventing the target node rect from being detected when only the onPosition callback was supplied.

jwineman commented 6 years ago

Thanks for the quick turn around here neal!