You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Click the search results on the left, the right page cannot be located #1098
I found the reason. Sometimes the a tag of the search box will not trigger the listening event, which causes the navigation to be false. At this time, the value of source is history, so the location will not be updated
At this point, a simple solution is to set navigation to true by default
After the query, it is because the search source code has errors. As shown in the figure, in most cases, the element that triggers the click event is not A tag. At this time, stopPropagation event causing the problem mentioned in the previous article. Navigation = false so that source = history so that the page will not be located
Activity
CHU295 commentedon Apr 10, 2020
I found the reason. Sometimes the a tag of the search box will not trigger the listening event, which causes the navigation to be false. At this time, the value of source is history, so the location will not be updated
At this point, a simple solution is to set navigation to true by default
CHU295 commentedon Apr 10, 2020
After the query, it is because the search source code has errors. As shown in the figure, in most cases, the element that triggers the click event is not A tag. At this time, stopPropagation event causing the problem mentioned in the previous article. Navigation = false so that source = history so that the page will not be located
In line 286 of the source code search.js

My poor English。。。
Update component.js
fix bug docsifyjs/docsify#1098