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

Search not working in Safari #7037

Closed
4 tasks done
akhildevvr opened this issue Apr 9, 2024 · 4 comments
Closed
4 tasks done

Search not working in Safari #7037

akhildevvr opened this issue Apr 9, 2024 · 4 comments
Labels
needs reproduction Issue lacks a minimal reproduction .zip file

Comments

@akhildevvr
Copy link

Context

The search option is not working on safari and firefox.

Bug description

The search option is not working on safari and firefox. It stays at "Initializing search' and never gives any results.
Using the latest verion of MkDocs and mkdocs-material.

Related links

Reproduction

mkdocs.txt

Steps to reproduce

RUN pip install mkdocs
pip install mkdocs-material
pip install mkdocs-awesome-pages-plugin
pip install mkdocs-glightbox
pip install mkdocs-exclude-search
pip install mkdocs-git-revision-date-localized-plugin

Browser

Safari, Firefox

Before submitting

@alexvoss
Copy link
Sponsor Collaborator

alexvoss commented Apr 9, 2024

You could help us investigate the problem by creating a minimal reproduction, so we can look at the problem on our machines. It is important to have any customizations removed to ensure this is actually a problem with Material for MkDocs.

Also, I note that you have mkdocs-exclude-search installed - what happens when you remove that plugin?

@akhildevvr
Copy link
Author

HI, the mkdocs-exclude-search just excludes pages in domains and contribution pages. It does nothing to issue. It works locally in Safari. We are hosting the docs on AWS S3. The search is working fine on Chrome, but not safari and firefox.

@alexvoss
Copy link
Sponsor Collaborator

alexvoss commented Apr 9, 2024

Search works in all three browsers for me. Without a minimal reproduction that shows the problem on our machines there is nothing we can do, except perhaps make a lucky guess.

You say that search works locally in Safari but don't say if the same is true for Firefox. Does it work locally for all browsers? That might be a hint as to what is going on.

When you say "The search option is not working", what do you mean? No search box is visible, you cannot enter text, nothing is found? Are there any error messages, e.g., on the JavaScript console?

To allow us to help you you need to first give us information we can work with, as outlined in the bug reporting guidelines.

@squidfunk
Copy link
Owner

Closing as incomplete.

@squidfunk squidfunk added the needs reproduction Issue lacks a minimal reproduction .zip file label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction Issue lacks a minimal reproduction .zip file
Projects
None yet
Development

No branches or pull requests

3 participants