Hello Community,
I want to change the following behaviour of a MenuBar component:
- I want to disable arrow key navigation.
- 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:
- Line 51: this.addEventListener(‘keydown’, e => this.onKeydown(e));
- 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,
Eric