Editable TextBox component does not register keypresses after updating to version 2021.1.2

glad to be an inspiration some how :slight_smile:
and thanks for the update!
in another thread @sotiri suggested this code component in the Begin Routine tab.

core.Keyboard.prototype._addKeyListeners = function() {
  this._previousKeydownKey = undefined;
  const self = this;
  window.addEventListener("keydown", (event) => {
    if (event.repeat) {
      return;
    }
    const timestamp = util.MonotonicClock.getReferenceTime();
    if (this._status !== PsychoJS.Status.STARTED) {
      return;
    }
    self._previousKeydownKey = event.key;
    let code = event.code;
    if (typeof code === 'undefined') {
      code = core.EventManager.keycode2w3c(event.keyCode);
    }
    let pigletKey = core.EventManager.w3c2pyglet(code);
    self._bufferIndex = (self._bufferIndex + 1) % self._bufferSize;
    self._bufferLength = Math.min(self._bufferLength + 1, self._bufferSize);
    self._circularBuffer[self._bufferIndex] = {
      code,
      key: event.key,
      pigletKey,
      status: core.Keyboard.KeyStatus.KEY_DOWN,
      timestamp
    };
    self._unmatchedKeydownMap.set(event.code, self._bufferIndex);
    self._psychoJS.logger.trace('keydown: ', event.key);
    event.stopPropagation();
  });
}

based on what you said- do you think it will help? i cannot test it until Pavlovia will be back