react-container-dimensions
react-container-dimensions copied to clipboard
Wrapper component that detects element resize and passes new dimensions down the tree. Based on https://github.com/wnr/element-resize-detector
Closes #28
## Version **2.8.1** of [enzyme](https://github.com/airbnb/enzyme) just got published. Branch Build failing 🚨 Dependency enzyme Current Version 2.8.0 Type devDependency This version is **covered** by your **current version range** and after...
## Version **3.4.0** of [mocha](https://github.com/mochajs/mocha) just got published. Branch Build failing 🚨 Dependency mocha Current Version 3.3.0 Type devDependency This version is **covered** by your **current version range** and after...
@okonet I find that when a ContainerDimensions element has been mount and unmount quickly an error is thrown.  This error happens because the ready event of scroll is trigger...
If some parent element has a `transform: scale` applied then `getBoundingClientRect` will take it into account and return _actual_ sizes. This might be undesirable in some situations so probably `offsetWidth`...