phetsims / density-buoyancy-common

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

Console errors when dragging Custom block to bottom with alt input #403

Open Nancy-Salpepi opened 1 week ago

Nancy-Salpepi commented 1 week ago

Test device MacBook Air M1 chip

Operating System 14.6.1

Browser Chrome

Problem description For https://github.com/phetsims/qa/issues/1141, in Buoyancy Basics on the Explore Screen, dragging a block at min density and min volume to the bottom of the pool causes an error which makes the block temporarily unmovable with alt input. Tabbing away and then back again fixes the problem.

Steps to reproduce

  1. In Basics on the Explore Screen, Select "Custom"
  2. Move the Density and Volume sliders to minimum values
  3. Tab to and grab the block
  4. Drag the block to the bottom of the pool
  5. Once the block pops back up, try to move it with alt input

Visuals

https://github.com/user-attachments/assets/1ab32451-fa99-4b2b-9c9b-ba8742404827

Screenshot 2024-09-14 at 4 24 14 PM
Nancy-Salpepi commented 1 week ago

When the block is at the minimum density but not at minimum volume (ex. 3.5 or 4.5), the block will continuously sputter when dragged to the bottom of the pool with alt input.

https://github.com/user-attachments/assets/edfe88bf-2bcb-4b4f-88c9-eb4750b66ae5

Nancy-Salpepi commented 3 days ago

Also, when using the pointer, I can drag the block through the scale when it has the minimum density and volume values.

https://github.com/user-attachments/assets/80f1a74c-fb88-4486-83de-24feaa1212cb

Nancy-Salpepi commented 2 days ago

Following the steps in https://github.com/phetsims/density-buoyancy-common/issues/403#issue-2526601994 in Studio shows this:

Screenshot 2024-09-19 at 9 00 30 AM