-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not see image after zoom with zoom image plugin #37
Comments
I change the img css to set z-index to 999 to fix it。 |
+1 for this issue. Base on the investigation I could do the css class |
A change made in docsify 4.10 is the cause of the issue. This is confirmed by loading an earlier version of the plugin: <script src="https://unpkg.com/docsify@4.9/lib/plugins/zoom-image.min.js"></script> Easy enough to fix. |
Are you using simple.css theme? There is a bug in the file: :root{--zoomimage-overlay-background: rgba(0, 0, 0, 0.875)} I had to override this in your index.html and set zoomimage-overlay-background: none and mine is working like a charm |
The issue was caused by a class name change in 4.10. In docsify < 4.10, the class name applied to the zoomed image was "medium-zoom-image--open". In 4.10, this changed to "medium-zoom-image--opened" (noted the "ed" added to "open"). This issue has been fixed and will be available in the upcoming release. |
before zoom:
after zoom:
The text was updated successfully, but these errors were encountered: