Could not use next/future/image
with imported image and fill layout
#39807
Labels
Image (next/image)
Related to Next.js Image Optimization.
kind: bug
Confirmed bug that is on the backlog
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
When using an imported image and the fill layout with the new image component it throw an error:
Expected Behavior
The doc seems to allow this use case. So we should be able to use the fill layout with an imported image.
Link to reproduction
https://stackblitz.com/edit/nextjs-future-image-fill-bug?file=pages/index.js
To Reproduce
Open the sand box
The text was updated successfully, but these errors were encountered: