gatsby-plugin-image missing fadeIn option #30699
Replies: 5 comments 13 replies
-
Hello! The I think it might help with the migration and performance scores. |
Beta Was this translation helpful? Give feedback.
-
Hi @kelvindecosta, placeholder NONE does not remove fade in animations. There is no issues with layout shifting, animation affects on LCP. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to let you guys know that I also have been struggling with LCP and I thought (and hoped) that Gatsby Image was the cause of this. I think it is really the easy was to just think it's the image and I also thought this was my main problem. So I did tried all the tips I did read about here and on other places, like using the My LCP was round 4-5s. I did some code splitting, removed the css selector and just let Gatsby Image do her work and kaboom, 0,8s LCP. Still need some other improvements btw.. |
Beta Was this translation helpful? Give feedback.
-
hey, for me it's less the effect to core vitals... it's more the visual effect when you need to use rehydration... the page visibility loads twice. without the fade in effect of GatsbyImage at least you wouldn't recognise it. so a fade option would be really helpful. |
Beta Was this translation helpful? Give feedback.
-
Any update around here? |
Beta Was this translation helpful? Give feedback.
-
Description
We migrate from Gatsby v2 to v3, unfortunately, there are some issues that are coming along the way. Lighthouse will penalize your website if it has animation on images in the hero section especially, so in v2 we used fadeIn={false} to have better scores. However in v3 with
gatsby-plugin-image
it is not possible and the only way of overriding it is ugly CSS !important styles.It would be nice to have that option in v3 to so it makes the migration process smoother and will result in better performance scores.
Beta Was this translation helpful? Give feedback.
All reactions