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
Transition: hiding automatically when setState of parent called on mount #3641
Comments
It's expected, your component should spread props, at least -<div {...this.props}>
+<div {...this.props}>
+ // or <div className={this.props.className} style={this.props.style}>
<Image
size="small"
src="https://react.semantic-ui.com/images/leaves/1.png"
/>
</div> This change fixes both examples. |
Hi, Thanks for helping. |
The work around fix I got for this is to call setState after the running execution by putting inside setTimeout with zero delay. |
@krajasekhar thanks for the clarification, definitely looks like a bug 🐛 |
Another workaround that fixes this for me is to use |
This issue was fixed in |
Bug Report
Steps
If unmountOnHide is set true, this auto hide happens after every visible trigger.
Expected Result
Actual Result
Version
0.87.1
Testcase
[Fork, update, and replace this pen to show the bug]:
The text was updated successfully, but these errors were encountered: