-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
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
Resize not being detected when rendering component is changed (HOC). #101
Comments
Yes, you're right. It happens because |
Fixed in v.5.1.0 Please upgrade to the last version from npm |
@maslianok could you please remove console logs? |
lol :) done |
@maslianok it seems that console logs still live in lib (build results) :). Could you please rebuild and publish version without logs? |
@zarv1k omg, sorry for the inconvenience :( That's how it works when you're rushing... Fixed in v5.1.3 (I hope) |
@maslianok it happens :) Thank you! |
When rendering multiple components it just detects resizing in the first one. If, for some reason, you start rendering another one, it just not detects the resizing in the second one. This happens using HOC. Example.
render(){ if(!this.state.show){ return <button onClick={this.handleShow}>Show</button> } return <h1>Hey there</h1>; }
The text was updated successfully, but these errors were encountered: