Closed zepumph closed 6 years ago
Can be reproduced within seconds with http://localhost/resistance-in-a-wire/resistance-in-a-wire_en.html?brand=phet&ea&fuzzMouse&fuzzPointers=2&fuzzTouch&fuzzRate=1000
UPDATE: actually it's only sometimes immediate.
After doing some research, I found that this can be triggered after any of the three slider drags, if the resulting resistance change was 0. So I updated the conditional to make sure that both the slider value and the resistance value changed. @jessegreenberg you originally wrote this, so could you please give a spot check on this to see if there is foul play.
Note: I spot checked OL for similar trouble, and I don't think that we will have any trouble over there, because there is no assertion in the implementation, so it will just queue an alert that addresses the change in R or V but the current won't change. This seems fine to me to have this discrepancy between sims since it is such an edge case anyways with low risk in interfering with UX.
Change looks good to me @zepumph, thanks 👍
Great I'll add them to a new RC for spot check.
We could not test with fuzzMouse in the rc version, but this has not been showing up at all in master or CT. I think we are ready to close.