Should table focus really reset timeSincePress?

I’m also finding the table-button relationship to be problematic for two reasons:

  1. In most of my activities I have some slides where I use a button to randomly generate numbers to give students unique problems and provide “infinite practice.” If there’s a table on the slide and a student enters values and hits enter to move to the next row then when they get to the last cell and hit enter the reset button gets triggered and they get a new problem for which all of the values they just entered are now wrong. If the button was right underneath the table then I get how one could want enter on the last cell to activate the button (like a submit button), but it causes me problems when my reset button is nowhere near the table and yet hitting enter on the last cell triggers the button no matter where it’s located (above, below, different column, etc.).

  2. Animations. Sometimes I use a button to trigger animations using timeSincePress but when students click in a table to enter values that may have just been revealed to them through the animation, the animation gets reset. I found a workaround here but I’d rather the table just not affect the button unless I deliberately make it so using resetOnChange.

Thanks!

1 Like