Closed Nancy-Salpepi closed 2 years ago
It can look really odd in some cases:
Definitely a problem! If you drag a ball and the value changes, then the median bars should only stay there if the data remains sorted.
I also noticed that if the ball that is moved is linked to the middle sorted card, then the median bars never disappear--even if the median value changes.
In the State wrapper--the median bars disappear in the downstream wrapper (but remain in the upstream when they shouldn't).
Thanks @Nancy-Salpepi! Marking for the April milestone.
@samreid and I committed a fix above. @Nancy-Salpepi could you please test on phettest?
If it seems fixed, please leave open and relabel as status:ready-to-cherry-pick, thanks!
Looks good!
@chrisklus and I confirmed this is fixed in in https://github.com/phetsims/center-and-variability/issues/122, closing.
Test device Dell
Operating System Windows 10
Browser Chrome
Problem description For https://github.com/phetsims/qa/issues/789
After the data is sorted, if I move soccer balls so that the median value doesn't change but the cards are out of order, the median brackets do not disappear. However, when a move a card, without changing the median value, the brackets do disappear. The brackets do disappear if dragging the soccer ball causes the median value to change.
Steps to reproduce
Visuals
https://user-images.githubusercontent.com/87318828/159776389-7cd796ee-a8fc-4d6c-bb65-ffcc2318e81a.mp4