iPeng6 / docsify-sidebar-collapse

a docsify plugin, support sidebar catalog expand and collapse
MIT License
176 stars 37 forks source link

Mobile - Clicking folders closes the sidebar #38

Open Zaeems opened 2 years ago

Zaeems commented 2 years ago

When clicking the folder the sidebar is closing / hiding, which is the same behaviour when clicking on a file. When trying to navigate multiple folders, have to keep re-opening the sidebar

https://user-images.githubusercontent.com/46079004/186613303-73532469-823a-4c40-9ea9-1e64b3641827.mp4

.

pbjacob commented 2 years ago

Exactly what I posted on docsify-themeable's issues: https://github.com/jhildenbiddle/docsify-themeable/issues/77 This plugin is compatible with the docsify's native themes, but incompatible with docsify-themeable. When using native themes of docsify, such as vue.css, dark.css, and so on, the sidebar won't hide until you touch the article content on the right or touch the little TOC icon at the down-left corner. While using any themeable's themes, it behaves like what you've shown in the video.

Visual1mpact commented 1 year ago

Exactly what I posted on docsify-themeable's issues: jhildenbiddle/docsify-themeable#77 This plugin is compatible with the docsify's native themes, but incompatible with docsify-themeable. When using native themes of docsify, such as vue.css, dark.css, and so on, the sidebar won't hide until you touch the article content on the right or touch the little TOC icon at the down-left corner. While using any themeable's themes, it behaves like what you've shown in the video.

Just wanted to post this here. A solution I came up with for my environment.

https://github.com/Pete9xi/Paradox_AntiCheat/commit/892ef63961032c2464ae3380e969b9ae9183d959