-
Notifications
You must be signed in to change notification settings - Fork 164
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
make SUPPORTED_FORMATS part of options #7
Comments
That's interesting, thanks for pointing that out! Can you please share your HTML template? |
Actually I've been able to fix that by targeting the parent container (where there is no svg), and not the img tag itself. |
Hi @karimhossenbux, a similar issue was raised #8. It is indeed a bug and I will publish a fix very soon (#8 (comment)). Thank you again 😄 |
Closing for now as it should be fixed with aa8ff0f. Please upgrade to 1.0.4 and let me know if you have other issues. |
It would be awesome if we could set SUPPORTED_FORMATS as we need.
Right now medium-zoom is enable on some SVG icons I have even if I target img tag:
mediumZoom(document.querySelectorAll('.content img'))
Let me know what you think?
Cheers!
The text was updated successfully, but these errors were encountered: