Here's a code sandbox with an example of the problem:
https://codesandbox.io/s/docsify-template-forked-bmv247?file=/README.md:145-155
Seems like it could be related to the following docsifyjs/docsify#1499 not exposing a hook to tie into
But upon closer look it, it does seem like they do fireafterEach here https://github.com/docsifyjs/docsify/blob/d27af3dd09a882fce4f1e2774065de57a3501858/src/core/render/index.js#L310-L343
So its possible all that needs to happen is to re perform the check on the after each, like was done on the beforeEach https://github.com/VagnerDomingues/docsify-example-panels/blob/ea69acc192a92f8745c9c4ac1b4aa4fbd81be928/src/js/index.js#L137
Here's a code sandbox with an example of the problem:
https://codesandbox.io/s/docsify-template-forked-bmv247?file=/README.md:145-155
Seems like it could be related to the following docsifyjs/docsify#1499 not exposing a hook to tie into
But upon closer look it, it does seem like they do fire
afterEachhere https://github.com/docsifyjs/docsify/blob/d27af3dd09a882fce4f1e2774065de57a3501858/src/core/render/index.js#L310-L343So its possible all that needs to happen is to re perform the check on the after each, like was done on the beforeEachhttps://github.com/VagnerDomingues/docsify-example-panels/blob/ea69acc192a92f8745c9c4ac1b4aa4fbd81be928/src/js/index.js#L137