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
Open a new tab. Be sure your cache is disabled (Devtools > Network > Disable Cache).
Bug will not be visible on repeat visits / cached images.
Visit the debug mode or full page view from above.
Click an image to open the Lightbox.
Click the "X" to close the image / Lightbox.
Click the same image to open it again.
Safari:
Open a new tab. Be sure your cache is disabled (Devtools > Network > Disable Cache).
Bug will not be visible on repeat visits / cached images.
Visit the debug mode or full page view from above.
Click an image to open the Lightbox.
Results
Chrome & Edge:
The image is invisible when you open it the second time.
Safari:
The image is invisible in the Lightbox upon first click / fresh cache. The image does show if you click to open it again.
It appears the image is indeed in the DOM when it's "invisible"; however, inline styles are setting the width and height to 0, which causes the image to be invisible.
Expected results
The image(s) should display when you click to open it.
Environment
OSX Ventura 13.4.1
Chrome & Edge 114, Safari 16.5.1. Seems to work in Firefox!
The text was updated successfully, but these errors were encountered:
This fixes a bug introduced in Parvus 2.3.x where images sometimes wouldn't display on a fresh cache:
deoostfrees/Parvus#49
Locking ensures no future releases will break things or cause mismatched dependencies between themes.
Reduced test case
I created a reduced test case that showcases this behavior on CodePen:
Steps to reproduce the issue
Different Browsers produce different results.
Chrome & Edge:
Safari:
Results
Chrome & Edge:
The image is invisible when you open it the second time.
Safari:
The image is invisible in the Lightbox upon first click / fresh cache. The image does show if you click to open it again.
It appears the image is indeed in the DOM when it's "invisible"; however, inline styles are setting the
width
andheight
to0
, which causes the image to be invisible.Expected results
The image(s) should display when you click to open it.
Environment
The text was updated successfully, but these errors were encountered: