Closed kb1995 closed 2 years ago
Hi!
Please provide a minimal reproduction for this. Thanks!
Hi!
Since we didn't receive an answer for 7 days or more about the ask of a reproduction I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do answer here or open a new issue with a reproduction. Thanks!
Preliminary Checks
Description
I want to configure gatsby-plugin-preact in my project. I've successfully installed preact and the package as per the documentation and added it to gatsby-config.js
When I run the project in development or create a production build, my images using gatsby-plugin-image break. There seems to be a with role
presentation
which is not being hidden and it breaks my layout.In development, the problem doesn't get fixed when I refresh my page. However, in my production build, once I refresh my page, the image is showcased correctly. In production, it looks like it's only a problem when I navigate to a page using the Gatsby Link component.
The problem is not there when I don't use
gatsby-plugin-preact
so it seems to be something related to that.Reproduction Link
-
Steps to Reproduce
gatsby-plugin-preact
gatsby-plugin-image
Expected Result
To load images correctly
Actual Result
There is an extra div/image which pushes the image away and creates an undesired layout
Environment