TiredMenu: Keyboard navigation breaks when using templates #7312
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Describe the bug
Without a template you are able to use the keyboard to navigate to and trigger the command on a menu item by pressing enter. When using a template, keyboard selection works as expected to select an item but hitting enter does not trigger the command anymore.
Reproducer
https://stackblitz.com/edit/l7ugbc?file=src%2FApp.jsx
System Information
Steps to reproduce the behavior
See the example, the 'New' option has been given a template, and the command no longer works when you use the keyboard.
Everything else in the Menu seems to work fine.
Expected behavior
I would expect for it to work the same regardless of if an item has a template or not.
The text was updated successfully, but these errors were encountered: