diff --git a/src/components/scroll-region.cjsx b/src/components/scroll-region.cjsx index fb2e2c82e..ed9f28af1 100644 --- a/src/components/scroll-region.cjsx +++ b/src/components/scroll-region.cjsx @@ -198,6 +198,10 @@ class ScrollRegion extends React.Component attributeFilter: ['style'] }) + componentDidUpdate: (prevProps, prevState) => + if (@props.children != prevProps.children) + @recomputeDimensions() + componentWillReceiveProps: (props) => if @shouldInvalidateScrollbarComponent(props) @_scrollbarComponent = null