OSweb:keyboard with event type keyrelease seems to not work sufficiently
Imagine an experiment in which participants are asked to reproduce a certain duration by holding spacebar. After each reproduction, I would like to provide them with feedback about the total duration they have been holding the spacebar.
I used to do this with some inline script, but for OSweb I thought about a way to do this with the keyboard items. My strategy is two use two keyboard items.
Let me explain this with the attached working example.
Now this strategy is working fine when running it in Opensesame, but doesn't when testing it in OSweb. It seems that in OSweb after a single keypress the keypress remains always 'true' (registered as pressed) and therefore each trial immediately continues to the next...
I am running this on the newest version 22.214.171.124 osweb...
Any help would be hugely appreciated!
I just tried a very simplified version with a single keyboard item with event type set to 'keyrelease'. Again, when running in OSweb it seems that it always directly continues to next items. In other words, it doesn't wait until I release the key. could this be a bug for the keyboard items with event type: keyrelease?