next/future/image
blurDataUrl throwing error about 'style property should not contain semicolon'
#38431
Closed
1 task done
Labels
Image (next/image)
Related to Next.js Image Optimization.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
Brave 1.39.122 Chromium: 102.0.5005.115 (Official Build) (64-bit)
How are you deploying your application? (if relevant)
No response
Describe the Bug
When using the new (experimental?)
next/future/image
withnext@12.2.1-canary.4
, I'm getting errors in the console that thestyle
property shouldn't contain semicolons, with a recommendation to "try this instead". See:I've played around with it a bit, and its clearly only appearing when I enable and pass a
blurDataURL
. These data URL's are typical base64 data URI's though, which by definition should contain a semicolon, right?i.e.
data:image/jpeg;base64,/9j/2wBDAYK.....
Component in question: https://github.com/ndom91/briefkasten/blob/main/src/components/bookmark-card.jsx#L169-L182
I can't tell for sure, but with the network speed slowed down to
Slow 3G
, it seems that the blur placeholder is not working anymore when this error is thrown. It was previously working with 12.1.X andnext/image
with the same code, however.Expected Behavior
Render the blur placeholder while image is loading.
Link to reproduction
https://briefkasten.vercel.app
To Reproduce
Login to my sideproject bookmark app linked above, add a bookmark, and reload the page.
The text was updated successfully, but these errors were encountered: