-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gatsby-image] Restore placeholder image transition #8350
Conversation
👀 taking a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me (I mean, it is a one liner!).
@tbrannam where'd you end up here? I can pull this down and validate in a bit too.
Looks good from here too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just validated this locally and seems like all things are kosher 🤷♂️
Merging and will release a new version!
Successfully published:
- gatsby-image@2.0.7 |
* master: (22 commits) Adding blog post link to readme (gatsbyjs#8397) [www] A bunch of mostly "Creator"-related UI updates (gatsbyjs#8390) Add Ramon Chancay Creator (gatsbyjs#8389) [www] Update LeKoArts' portfolio starters' info (gatsbyjs#8365) Add self to creators. (gatsbyjs#8391) Behind the scenes (gatsbyjs#8392) Add https://hawaiinational.bank to sites.yml (gatsbyjs#8394) Add Marc-Antoine Ruel to community page (gatsbyjs#8378) chore(release): Publish [gatsby-image] Restore placeholder image transition (gatsbyjs#8350) Add www.leyanlo.com to sites.yml (gatsbyjs#8363) Add Jest to v2 migration docs (gatsbyjs#8384) [www] Fix wire.com Showcase URL (gatsbyjs#8376) Update Creator Showcase and Site Showcase (gatsbyjs#8377) Created stub article for navigation doc Added new navigation docs to sidebar www: fix images on audit with lighthouse doc (gatsbyjs#8373) Fix link (gatsbyjs#8375) Updated links using gatsby image in sidebar nav ...
In gatsbyjs#7083 the css `transition` was moved [from Img](https://github.com/gatsbyjs/gatsby/blob/bcf3af57f3b6438424b712ce1785a6a423b937da/packages/gatsby-image/src/index.js#L117) to [imageStyle](https://github.com/gatsbyjs/gatsby/blob/5ffb1307c17bef802026d5992e1ad000ff654f11/packages/gatsby-image/src/index.js#L224), leaving [imagePlaceholderStyle with a transitionDelay](https://github.com/gatsbyjs/gatsby/blob/5ffb1307c17bef802026d5992e1ad000ff654f11/packages/gatsby-image/src/index.js#L217), but without an actual transition. Although I don't follow everything that changed with that commit, I think that wasn't on purpose. @tbrannam can you confirm?
In #7083 the css
transition
was moved from Img to imageStyle, leaving imagePlaceholderStyle with a transitionDelay, but without an actual transition.Although I don't follow everything that changed with that commit, I think that wasn't on purpose. @tbrannam can you confirm?