-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command palette goes to the top when you go back (<) from a submenu #13457
Comments
Hmm this is in #5400, I'm pretty sure it's a full issue somewhere too
|
I guess that's a matter of terminology. The actual behavior and my desired behavior both go back to the command palette. It's the position in the command palette after going back that concerns me ... back to the beginning of the command palette or back to where I was. |
@zadjii-msft, I would be happy to work on this as my first contribution to this repo (if possible). I assume the desired result is to focus the filtered view to the previously selected item when returning from a nested collection? |
That's what I would do, yea! Lemme know if you have any questions. This line:
|
#13504) The behaviour of the 'go back' button in the command palette was changed to return to the previously selected element rather than the root. Instead of returning to the root, the go back button now returns to the previously selected item in the filtered action list. The previously selected item is selected by default and the view is scoped to the item. ## Validation Steps Performed Manually tested by going back and forth between nested actions in the command palette. Closes #13457
🎉This issue was addressed in #13504, which has now been successfully released as Handy links: |
I just got this one:
or maybe it's this one:
Is that one Windows Terminal Preview v1.16.252? It has too many version descriptions! The back button works as desired. I didn't mention it earlier but I'd expect Esc to do the same thing (i.e., go back) but it just closes the command palette. |
As the subject says, if I open a submenu of the command palette (e.g., "New tab") and go back via the <-button, I'm back at the top of the command palette. I'd prefer to be back where I was. It's not a bug, but the bahavior could be made more friendly.
The text was updated successfully, but these errors were encountered: