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
The issue seems to be limited to Safari (browser & mobile versions). I have tested it in Safari 17.0.
Possible solution
This issue could be resolved by preventing the loading attribute from being passed down from the target image to the one displayed in the viewer.
The text was updated successfully, but these errors were encountered:
Just found a solution in another issue: #403 (comment). Still, it took me some time to figure out that loading was causing the problem. Is there a reason why this attribute is inherited?
Describe the bug
In Safari, if an image possesses a
loading="lazy"
attribute, then it fails to properly show up in the viewer. The interaction (whatever it is) occurs because the attribute is inherited from the target image by the image displayed in the viewer.To Reproduce
Try clicking on the image using Safari: https://codepen.io/malinowskip/pen/mdavgGP?editors=1010.
The issue seems to be limited to Safari (browser & mobile versions). I have tested it in Safari 17.0.
Possible solution
This issue could be resolved by preventing the
loading
attribute from being passed down from the target image to the one displayed in the viewer.The text was updated successfully, but these errors were encountered: