-
Notifications
You must be signed in to change notification settings - Fork 6
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
Closing a dialog in the state wrapper leads to a dimmed downstream sim #849
Comments
I just confirmed this is a problem for all Dialogs. I spent a few minutes investigating but I am not really sure how to fix this. Maybe the |
@samreid and I did some exploration. We learned:
Questions:
|
This was a regression caused by phetsims/axon#409. @samreid and I were able to work it out. Basically, on dispose of a Dialog, we are calling Because this Property is instrumented. The solution is to not consider dynamic element clearing (occurring on |
Spot checked the commits, and all looks good to me. I'm not sure I'm fully following the order of things that caused the bug, but the explanation and fix seems reasonable. Closing! |
Discovered in phetsims/circuit-construction-kit-common#867. After closing the preferences dialog in the state wrapper, the downstream Preferences Dialog closes, but the semi-transparent overlay is still there.
@jessegreenberg can you please take a look?
The text was updated successfully, but these errors were encountered: