- 
                Notifications
    
You must be signed in to change notification settings  - Fork 33
 
Open
Description
I have a project using docsify, and it seems that the latest release of this plugin is breaking the sidebar expansion functionality.
Problem
When I run the site locally, sidebar expansion does not happen on click, and I encounter the following error in the console:
Uncaught TypeError: Cannot read properties of undefined (reading 'path')
  at k (docsify-pagination.min.js:1:4164)
  at i (docsify-pagination.min.js:1:6048)
  at o (docsify@4:1:107814)
  at o (docsify@4:1:107836)
  at o (docsify@4:1:107836)
  at docsify@4:1:107802
  at docsify-sidebar-collapse.min.js:1:4572
  at o (docsify@4:1:107782)
  at o (docsify@4:1:107836)
  at t.callHook (docsify@4:1:107852)
Workaround
Pinning docsify-pagination to v2.6.x (https://cdn.jsdeliver.net/npm/[email protected]/dist/docsify-pagination.min.js) fixes the issue.
Project State
This project is using:
docsify@4docsify@4/lib/plugins/search.jsdocsify-paginationdocsify-tabs@1docsify-copy-code@2docsify-sidebar-collapsedocsify/lib/plugins/zoom-image.min.jsprismjs@1
Metadata
Metadata
Assignees
Labels
No labels