phetsims / density-buoyancy-common

Common code for the Density and Buoyancy simulations
GNU General Public License v3.0
0 stars 2 forks source link

Height/width slider values don't match appearance after switching shapes #222

Closed Nancy-Salpepi closed 3 months ago

Nancy-Salpepi commented 3 months ago

Test device MacBook Air M1 chip and Chromebook

Operating System macOS 14.5

Browser Safari and Chrome

Problem description For https://github.com/phetsims/qa/issues/1095, on the Shapes Screen if I change the dimensions of the current object (e.g. decreasing the height to min) and then switch objects, that object has its default dimensions. The location of the slider thumb doesn't match the appearance of the object. I wasn't sure if the slider values should match the default values for the new object or the new object should appear with the current slider values --neither scenario currently happens.

Steps to reproduce

  1. On the Shapes Screen, move the height slider to the minimum value
  2. Select a different object from the list box
  3. Slowly increase the height using the slider

Visuals

https://github.com/phetsims/density-buoyancy-common/assets/87318828/53b0a283-bac7-4d10-82b3-90e5bcb313e7

Nancy-Salpepi commented 3 months ago

I can no longer reproduce this issue on main. Perhaps it was fixed by https://github.com/phetsims/density-buoyancy-common/issues/204?

I'm going to close this and reopen in the future if it pops up again.