diff --git a/Collapsible.js b/Collapsible.js index d03f1ac..827a239 100644 --- a/Collapsible.js +++ b/Collapsible.js @@ -27,11 +27,7 @@ export default class Collapsible extends Component { } componentDidMount() { - if (!this.props.collapsed) { - setTimeout(() => { - this._measureContent((height) => this.state.height.setValue(height)); - }, 0); - } + this._measureContent((height) => this.state.height.setValue(height)); } componentDidUpdate(prevProps) {