phetsims / beers-law-lab

"Beer's Law Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/beers-law-lab
GNU General Public License v3.0
2 stars 9 forks source link

Parts of the UI shift around while dragging things #299

Closed pixelzoom closed 1 year ago

pixelzoom commented 1 year ago

Noticed while dragging the shaker around. The controls under the beaker are shifting up and down. Seems dependent on browser window size.

This seems like the same issue as https://github.com/phetsims/scenery/issues/1289, so I guess the workaround is to add preventFit: true to each ScreenView.

pixelzoom commented 1 year ago

Workaround applied in the above commit. I no longer see the shifting. Closing.