Skip to content

gatsby-plugin-image placeholder opacity transition is blinking #29911

@laurenskling

Description

@laurenskling

Description

as discussed in #28868. The image is blinking when blurring from the placeholder to the real image. Looks like because of the placeholder being removed from the DOM, so the opacity transition isnt working.

Expected result

The blur up effect should blur from the placeholder to the image, without blinking to the background color.

Actual result

You see placeholder -> background -> real image transition

Environment

System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-1060NG7 CPU @ 1.20GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.15.4 - /var/folders/gh/yg99pwqj2rngz5wysjcgl8ph0000gn/T/yarn--1614689061406-0.29251695091521035/node
Yarn: 1.22.4 - /var/folders/gh/yg99pwqj2rngz5wysjcgl8ph0000gn/T/yarn--1614689061406-0.29251695091521035/yarn
npm: 6.14.10 - /usr/local/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 88.0.4324.192
Safari: 14.0.2

Metadata

Metadata

Assignees

Labels

topic: mediaRelated to gatsby-plugin-image, or general image/media processing topicstype: bugAn issue or pull request relating to a bug in Gatsby

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions