You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the user is at a menu with index n with n > 2, the expectation is that clicking the delete or backspace key gets the user to the immediately preceding menu, so n - 1. Instead, the root menu n === 1 is called.
To Reproduce
Steps to reproduce the behavior:
Create 3 or more menus, e.g.
<CommandMenucommands={menuMain}index={1}placeholder='Type a command or search...'/><CommandMenucommands={menuTask}index={2} placeholder='Describe your task'/><CommandMenucommands={menuFilter}index={3}placeholder='Filter...'/>
Navigate to the third menu, with the placeholder “Filter...”
Press the delete button.
You get taken back to the main menu with the placeholder “Type a command or search...”.
Expected behavior
User should be taken back to the immediately preceding menu. In the example above, the menu with the placeholder “Describe your task”.
Desktop (please complete the following information):
Describe the bug
When the user is at a menu with index
n
withn > 2
, the expectation is that clicking thedelete
orbackspace
key gets the user to the immediately preceding menu, son - 1
. Instead, the root menun === 1
is called.To Reproduce
Steps to reproduce the behavior:
delete
button.Expected behavior
User should be taken back to the immediately preceding menu. In the example above, the menu with the placeholder “Describe your task”.
Desktop (please complete the following information):
[email protected]
The text was updated successfully, but these errors were encountered: