Skip to content

Commit 7b8da0b

Browse files
Fix page jump to bottom on safari (#2013)
#### Reference Issues / PRs closes #2004 #### What does this implement/fix? Fixes the quick jump to bottom of the page in safari This is an existing bug in docsearch: algolia/docsearch#1260 #### Any other comments? No --------- Co-authored-by: Robin Malfait <[email protected]>
1 parent 07a03a7 commit 7b8da0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ export default function Home() {
3737
<FooterMeta className="px-4 md:px-6 lg:px-8" />
3838
</div>
3939
</div>
40+
<div className="fixed!" aria-hidden="true">
41+
<input type="text" tabIndex={-1} />
42+
</div>
4043
</div>
4144
);
4245
}

0 commit comments

Comments
 (0)