We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d40cf66 + 05e5756 commit c0f3941Copy full SHA for c0f3941
packages/react-renderer-demo/src/app/src/components/docsearch.js
@@ -54,7 +54,7 @@ const DocSearch = () => {
54
handleSelected: (input, event, suggestion) => {
55
event.button = 0;
56
const resultUrl = new URL(suggestion.url);
57
- push(resultUrl.pathname);
+ push(`${resultUrl.pathname}${resultUrl.hash ? resultUrl.hash : ''}`);
58
input.close();
59
},
60
// debug: true, // Set debug to true if you want to inspect the dropdown.
0 commit comments