Closed Nancy-Salpepi closed 1 year ago
This seems to be the similar if not exact same problem plaguing #571. I am going to close #571 since this is more isolated to the IQR bar label.
From #571 @Nancy-Salpepi said:
Sorry @marlitas, I'm going to have to reopen this. For https://github.com/phetsims/center-and-variability/issues/580, I found a case where the IRQ value above the bracket in the downstream sim is missing. Sorry I didn't catch this earlier.
Steps:
From #571 I investigated:
This fixes it, but I'm still not clear why it's only happening after we press the eraser button. I'm also not understanding why it's not affecting the interval bar since the intervalBarLabel
and intervalBar
are getting updated in the same function...
Is it a listener order thing? The updateIntervalBar
function is running while setting state, but seems to be doing so before the DerivedProperty
had a chance to update? That's not making much sense to me. I would assume that the DerivedProperty
would update as soon as a value change triggers it... I'll want some help on this.
This was fixed above with @samreid. I believe this issue is now ready for cherry-pick.
I noticed this is also happening in the MAD node. Removing ready-for-cherry pick.
Nevermind this was occurring because of changes I was looking at in https://github.com/phetsims/center-and-variability/issues/583
Things seem fixed in rc.2
Test device MacBook Air M1 chip
Operating System 14.0
Browser Safari 17
Problem description For https://github.com/phetsims/qa/issues/993 and probably related to https://github.com/phetsims/center-and-variability/issues/571, the information in the IRQ info dialog doesn't always update after pressing Set State Now.
Steps to reproduce
Visuals