We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using a parent other than the window object and noticed the inline height is not calculated when resizing the browser window.
React-Headroom attaches the resize event handler to the parent prop but I've read that the resize event fires only on the window.
Hence, I implemented this (attached a resize handler to the window object) in my code base and the inline height gets recalculated.
The problem now is that, React-Headroom overrides the height style set in the wrapperStyle prop, so no way to use the new height.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using a parent other than the window object and noticed the inline height is not calculated when resizing the browser window.
React-Headroom attaches the resize event handler to the parent prop but I've read that the resize event fires only on the window.
Hence, I implemented this (attached a resize handler to the window object) in my code base and the inline height gets recalculated.
The problem now is that, React-Headroom overrides the height style set in the wrapperStyle prop, so no way to use the new height.
The text was updated successfully, but these errors were encountered: