rsnext/test/integration/image-component
Steven cec388cde2
Fix Firefox flash of white on next/image with placeholder=blur (#35889)
## History

In PR #24153, `placeholder=blur` was added and it set `element.style.backgroundImage = 'none'` instead of using react state to re-render. Then in PR  #25916, a delay was added to handle removing the blur placeholder. Then in PR #25994, `img.decode()` was utilized but we found this caused problems in Firefox in #26011.

## Today

This PR changes the the blur placeholder removal to use react state to re-render. This _should_ prevent Firefox from erroring although we should probably keep the catch() just in case. This was pointed out when React 18 caused subtle differences in Firefox in this comment https://github.com/vercel/next.js/issues/30128#issuecomment-1086754374
2022-04-05 22:47:55 +00:00
..
asset-prefix make static image import output path consistent with other media (#30168) 2021-10-22 13:25:54 +00:00
base-path Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
basic Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
custom-resolver Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
default Fix Firefox flash of white on next/image with placeholder=blur (#35889) 2022-04-05 22:47:55 +00:00
image-from-node-modules fix: next/image usage from node_modules (#33559) 2022-02-08 19:55:53 -05:00
noscript Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
react-virtualized test: add inline flight response reuse test (#34364) 2022-02-15 18:53:45 +00:00
svgo-webpack Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
trailing-slash make static image import output path consistent with other media (#30168) 2021-10-22 13:25:54 +00:00
typescript Add support for AVIF to next/image (#29683) 2021-10-11 23:17:47 +00:00
unicode Fix invalid character in next/image header "Content-Disposition" (#30287) 2021-11-01 19:23:24 -04:00