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
Commit e544b41 was merged into main and released as part of RC12.
The PR states that the search dialogue shouldn't be closed under a number of circumstances one of which is when the user presses enter.
No justification is given for this or any description of what the intended behaviour should be. This is made even more confusing given the current UI explicitly states that Enter will select the item:
Reproduction
Add the following Markdown files to a Vitepress site:
# Overview
Some text ...
Hit Ctrl + K and type "Overview".
Hit enter.
Expected behavior
When a user hits Enter the search dialogue should be dismissed and Vitepress should navigate to the selected entry.
Uhmm, ok, we must also check if there is no selected index...
EDIT: you should use ESC key to close the dialog, if pressing ENTER key, the dialog SHOULD navigate to the selected index, and so, if there is no seach the dialog shouldn't be closed; you can use the ARROW UP/DOWN to navigate the search result.
Describe the bug
Commit e544b41 was merged into
main
and released as part of RC12.The PR states that the search dialogue shouldn't be closed under a number of circumstances one of which is when the user presses enter.
No justification is given for this or any description of what the intended behaviour should be. This is made even more confusing given the current UI explicitly states that Enter will select the item:
Reproduction
Add the following Markdown files to a Vitepress site:
# Overview Some text ...
Ctrl + K
and type "Overview".Expected behavior
When a user hits Enter the search dialogue should be dismissed and Vitepress should navigate to the selected entry.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: