Removing DOM Listeners of Vaadin Components

Hello Community,

I want to change the following behaviour of a MenuBar component:

  1. I want to disable arrow key navigation.
  2. I want to disable the MenuItem opening on hover.

The behaviour is implemented in the class vaadin-menu-bar-interactions-mixin.html. The listener registration can be found in the ready()-Method:

  1. Line 51: this.addEventListener(‘keydown’, e => this.onKeydown(e));
  2. Line 63: container.addEventListener(‘mouseover’, e => this.onMouseOver(e));

Does anyone know if it is possible to remove said listeners in the onAttach-method of my MenuBar component?

Thanks in advance and kind regards,