digidem / react-dimensions

[Looking for maintainers]
http://lab.digital-democracy.org/react-dimensions/
450 stars 77 forks source link

Lots of warnings using flex layout #40

Open ajrouvoet opened 8 years ago

ajrouvoet commented 8 years ago

It seems that everytime the flex layout changes, render is called multiple times. And a bunch of times containerWidth and containerHeight are undefined. Everytime, in the last render-call, everything is fine and it works as intended.

This leads to a whole bunch of warnings of the type: Wrapper div has no height or width, try overriding style withcontainerStyleoption.

This happens even if I do not set 'elementResize' to true!

beheh commented 8 years ago

Fixed in #43.

thearabbit commented 7 years ago

I have the same problem, how to fix?