We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f288a83 commit 22f4595Copy full SHA for 22f4595
beta/src/components/Search.tsx
@@ -42,7 +42,6 @@ const options = {
42
appId: siteConfig.algolia.appId,
43
apiKey: siteConfig.algolia.apiKey,
44
indexName: siteConfig.algolia.indexName,
45
- rednerModal: true,
46
};
47
let DocSearchModal: any = null;
48
export const Search: React.FC<SearchProps> = ({
@@ -120,6 +119,7 @@ export const Search: React.FC<SearchProps> = ({
120
119
createPortal(
121
<DocSearchModal
122
{...options}
+ initialScrollY={window.scrollY}
123
searchParameters={searchParameters}
124
onClose={onClose}
125
navigator={{
0 commit comments