Skip to content
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

Closing the search modal jumps the page #707

Closed
mynetx opened this issue Jan 26, 2022 · 3 comments
Closed

Closing the search modal jumps the page #707

mynetx opened this issue Jan 26, 2022 · 3 comments
Labels

Comments

@mynetx
Copy link

mynetx commented Jan 26, 2022

When clicking the Search box in the header and then closing it (using Esc or clicking into the backdrop), the scroll position will jump down unexpectedly.

CleanShot 2022-01-26 at 10 32 58

@jackmcdade
Copy link
Member

This is apparently a known issue with Algolia DocSearch and they don't have a fix yet. I tried all the workarounds other people suggested but they didn't work on our site. 😞

algolia/docsearch#1260

@jackmcdade
Copy link
Member

Actually, made one of them work. It's dumb but whatever.

@sjclark
Copy link
Contributor

sjclark commented Aug 18, 2022

Actually, made one of them work. It's dumb but whatever.

Looks like the temp fix is a little wonky: aeed3be#commitcomment-81484612
😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants