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
LQIP images are handled on initial page load. When using the view transition API, images are loaded into the DOM after page load. This resulted in images loading, but not fading in.
Solution
Astro fires an event astro:after-swap, so the on load event can be bound to new images.
Here's a temporary script I added to my app to get images working:
Problem
LQIP images are handled on initial page load. When using the view transition API, images are loaded into the DOM after page load. This resulted in images loading, but not fading in.
Solution
Astro fires an event
astro:after-swap
, so the on load event can be bound to new images.Here's a temporary script I added to my app to get images working:
The text was updated successfully, but these errors were encountered: