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
On single page site Sidebar does not highlight item navigated to (Docsify v5 Preview) #2509
To view bug, go to site, scroll down page and click on a Header element, copy resulting URL, open new Browser tab and paste the URL Might be related to #2504
Mention the docsify version in which this bug was not present (if any)
changed the title [-]On single page site Sidebar does not highlight item navigated to (Docsify v5 Preview) #2504[/-][+]On single page site Sidebar does not highlight item navigated to (Docsify v5 Preview)[/+]on Nov 12, 2024
-- @sy-records could you reproduce it steady?
I can not always reproduce it yesterday, sometimes fine, sometimes broken.
And today, I can not reproduce it totally... either in the sandbox or the site, or copying the sandbox file to locally test.
Sync what I investigated:
At the #initHeadings, it finds the activeElement as the first heading, and marked it as active. The page keeps it event it gonna scrolling down to target id place somehow.
Activity
[-]On single page site Sidebar does not highlight item navigated to (Docsify v5 Preview) #2504[/-][+]On single page site Sidebar does not highlight item navigated to (Docsify v5 Preview)[/+]Koooooo-7 commentedon Nov 18, 2024
append:
Use the uri
https://paulhibbitts.github.io/docsify-v4-single-page/#/?id=strikethroughdirectly to visit page.Sometimes, it locates correctly but sometime, it locates on the
BoldorMy Open Publishing Spaceand highlight .--- update
Can not reproduce on the dev branch codebase either our site.
paulhibbitts commentedon Nov 18, 2024
I've now created a sandbox to help with testing, which uses the latest Preview build: https://codesandbox.io/p/sandbox/long-waterfall-txknd8
Koooooo-7 commentedon Nov 19, 2024
Strange, I can not reproduce it now, although I revisit the https://paulhibbitts.github.io/docsify-v4-single-page/#/?id=strikethrough ...
sy-records commentedon Nov 19, 2024
Reproduced in the sandbox.
Koooooo-7 commentedon Nov 19, 2024
-- @sy-records could you reproduce it steady?
I can not always reproduce it yesterday, sometimes fine, sometimes broken.
And today, I can not reproduce it totally... either in the sandbox or the site, or copying the sandbox file to locally test.
Sync what I investigated:
At the
#initHeadings, it finds theactiveElementas the first heading, and marked it asactive. The page keeps it event it gonna scrolling down to target id place somehow.docsify/src/core/event/index.js
Line 92 in ceb466c
sy-records commentedon Nov 23, 2024
yep, You can visit https://txknd8.csb.app/#/?id=bold which should have
boldactived, but now hasMy Open Publishing Spaceactived.