Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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 bar on FastAPI docs not working on Safari. #1448

Closed
Dr-Phone opened this issue May 21, 2020 · 10 comments
Closed

Search bar on FastAPI docs not working on Safari. #1448

Dr-Phone opened this issue May 21, 2020 · 10 comments

Comments

@Dr-Phone
Copy link

Not a bug in library itself but on docs webpage. The issue is that the search bar on documentation page (fastapi.tiangolo.com) does not work on safari browser on mac. Clicking on search bar shows Initializing search and then nothing else happens.

It works on chrome though on the same system.

Here's the screenshot:

Screenshot 2020-05-21 at 7 22 19 PM

@Dr-Phone Dr-Phone added the bug Something isn't working label May 21, 2020
@phy25
Copy link

phy25 commented May 21, 2020

Works on Safari 13.1. Could you try again in a Private Window.

@Dr-Phone
Copy link
Author

Worked in the new private window. However opened a new tab on the same window and again the same problem. I also have Safari 13.1.
Tried the same on Chrome Incognito. Surprisingly the search didn't work. Opened a new tab on the same window. Didn't work there as well.

@parulgarg123
Copy link

Tested on Chrome, Safari, Firefox. Working only for Mozilla. Potential bug

@tiangolo
Copy link
Owner

tiangolo commented Jun 6, 2020

If an incognito window works it might be that you have stale cached assets in your browser.

Please remove the cache for the docs site and try again: https://developers.google.com/web/tools/chrome-devtools/storage/cache

@github-actions
Copy link
Contributor

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

@ghost
Copy link

ghost commented Jul 13, 2020

Hi, this issue has yet not been solved and it does not work on safari, chrome, firefox icognito or not. Please take necessary action.

@phy25
Copy link

phy25 commented Jul 13, 2020

@mundranaitik What word did you try? Have you tried in another network? It's working fine for me in Chrome.

@ghost
Copy link

ghost commented Jul 13, 2020

Now its working for me thnx. @phy25

@iakremnev
Copy link

iakremnev commented Jul 14, 2020

The search hangs in 'Initializing search' state, while debugger shows the following error.

Source map error: Error: request failed with status 403
Resource URL: https://sidecar.gitter.im/dist/sidecar.v1.js
Source Map URL: sidecar.js.map

This happens like 9/10 times I try to load the site. Even in incognito mode, all browser extensions disabled.

UPD: I tried to turn off built-in Firefox tracking blocks. The search is sporadically available, but the error is always present. It seems that the search is available only on the first page reload after changing element blocking policies (either to stricter or more tolerant).

@tiangolo
Copy link
Owner

tiangolo commented Dec 6, 2020

This was probably related to an older version of the theme Material for MkDocs. But I think the newer versions should work fine.

@tiangolo tiangolo added question Question or problem reviewed and removed bug Something isn't working labels Feb 22, 2023
@tiangolo tiangolo changed the title [BUG] Search bar on FastAPI docs not working on Safari. Search bar on FastAPI docs not working on Safari. Feb 24, 2023
@tiangolo tiangolo reopened this Feb 28, 2023
@github-actions github-actions bot removed the answered label Feb 28, 2023
Repository owner locked and limited conversation to collaborators Feb 28, 2023
@tiangolo tiangolo converted this issue into discussion #7424 Feb 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

5 participants