diff --git a/src/index.js b/src/index.js index 35189787..158a29cd 100644 --- a/src/index.js +++ b/src/index.js @@ -324,8 +324,8 @@ export default class Headroom extends Component { } const wrapperStyles = { - ...wrapperStyle, height: this.state.height ? this.state.height : null, + ...wrapperStyle, } const wrapperClassName = userClassName