You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<img src="image.jpg" style="max-width:100%; border:1px solid #ccc" data-action="zoom"> looses it's styles when "visibility: hidden;" is removed, after the image is zoomed back out.
Instead of just removing "visibility:hidden", element styles are removed completely. I don't think this is intended behaviour.
The text was updated successfully, but these errors were encountered:
I can reproduce this. It seems to affect images that have a width style. The image doesn't return to the defined width when it zooms out: https://codepen.io/mikemella/pen/gObworm
An image that has element styles defined like
<img src="image.jpg" style="max-width:100%; border:1px solid #ccc" data-action="zoom"> looses it's styles when "visibility: hidden;" is removed, after the image is zoomed back out.
Instead of just removing "visibility:hidden", element styles are removed completely. I don't think this is intended behaviour.
The text was updated successfully, but these errors were encountered: