[Pavlovia] Keyboard release not detected on Pavlovia

Hi everyone,

I’m currently running a web-based experiment on Pavlovia using PsychoPy Builder (v2024.2.4), and I’m encountering issues detecting key release events.

In my experiment, participants are instructed to hold down two keys (“1” and “2”), and then release one of them based on a visual cue.

I made the task with PsychoPy and it works perfectly offline, but on Pavlovia, release_resp.keys and release_resp.duration are often null or NaN, suggesting that the release event is not being registered at all.

Has anyone encountered a similar problem or found a workaround to reliably detect key releases on Pavlovia?
Any advice or example code would be greatly appreciated!

Thanks in advance!