-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Cannot jump to the content of the search by clicking the results #1090
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
Comments
its working fine with our docs. Can you create a reproducible sandbox for this. |
the repo url is https://github.com/awesome-wiki/awesome-wiki-bookmarks |
I am asking for the sandbox or repo so that I can take a look cause its working fine in our docs site. Also, you didnt fill the issue template.we have written in clear in the template that we will close the issue if it's not there. That template is important and helps us in investigating the matter quickly. |
@anikethsaha, navigating to search results does not work reliably even on your docs site (https://docsify.js.org/). Simple test scenario:
Many links work as expected, some navigate to the wrong location (correct page, wrong anchor) and some simply do nothing. I think the issue often occurs when trying to navigate to another anchor on the same page. |
its working as expected.
I typed github and clicked every link visible in it, working as expected. Maybe I am missing something. |
@jjallaire The next version should be fixed. #1190 |
Excellent! I was speculating that this might also have something to do w/ async image loading (as I have a number of screenshots on the page): https://gitmemory.com/issue/docsifyjs/docsify/624/489617399 |
Is there a straightforward way to run the new version on my site prior to its release? |
You can try to load these two js files. <script src="//cdn.jsdelivr.net/gh/sy-records/staticfile@master/js/docsify/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/gh/sy-records/staticfile@master/js/docsify/search.min.js"></script> |
That works great, thank you!!!!! |
fixed via #1175. If there are still questions, you can reopen the issue. |
This issue is still happening.
I also suspect it is related to lazy loading of images since if I repeatedly select "AB" then "BC" then "AB" and so on. After a couple seconds it starts jumping properly. |
Uh oh!
There was an error while loading. Please reload this page.
env:
problem: I create a page: https://awesome-wiki.github.io/awesome-wiki-bookmarks/#/ ,when I type
Linux
in the search placeholder, It can show the results of search, I click the reulst, it can't jump to the content!PS: not every result cannot jump by clicking
The text was updated successfully, but these errors were encountered: