-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strong inside paragraph renders paragraph without styles (only in build and on first load) #23694
Comments
Hi! Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it. If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look. Thanks for using Gatsby! 💜 |
I'm not really able to recreate right now. But here are some notes:
I'm using
and one of the components is here:
so it goes on this child properly and everything. I start to worry that emotion.js is buggy. For some reason react dom is replacing that element with a new one without the className and also removes all the attributes. |
Reproduction here |
@stevemarksd Could you create a reproduction inside gatsby? As in a small git repo? |
I can't reproduce, but I'm pretty sure is because I had some @material-ui/styles included twice. (I have a common repo and the website repo, both had that node_module) I fixed by putting a resolver in webpack. |
I had the same problem and my fix was to import https://www.gatsbyjs.org/packages/gatsby-plugin-material-ui/ into my gatsby-config.js |
Just upgraded all deps to latest today. gatsby@2.21.9
Description
Strong inside paragraph renders paragraph without styles.
Steps to reproduce
Requirements to reproduce:
Notes:
Plugins:
Expected result
What should happen?
Actual result
What happened.
Environment
System:
OS: Windows 10 10.0.18363
CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Binaries:
Node: 12.9.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.10.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
npmPackages:
gatsby: ^2.0.67 => 2.21.9
gatsby-image: ^2.0.25 => 2.4.0
gatsby-plugin-catch-links: ^2.0.9 => 2.3.0
gatsby-plugin-emotion: ^3.0.1 => 3.0.1
gatsby-plugin-google-analytics: ^2.0.8 => 2.3.0
gatsby-plugin-manifest: ^2.0.12 => 2.4.1
gatsby-plugin-offline: ^2.0.19 => 2.2.10
gatsby-plugin-react-helmet: ^3.0.0 => 3.3.0
gatsby-plugin-sharp: ^2.0.15 => 2.6.0
gatsby-plugin-sitemap: ^2.0.3 => 2.4.1
gatsby-plugin-typescript: ^2.0.3 => 2.4.0
gatsby-plugin-typography: ^2.2.2 => 2.5.0
gatsby-remark-component: ^1.1.3 => 1.1.3
gatsby-remark-images: ^3.0.1 => 3.3.0
gatsby-source-filesystem: ^2.0.12 => 2.3.0
gatsby-transformer-remark: ^2.1.15 => 2.8.4
gatsby-transformer-sharp: ^2.1.9 => 2.5.0
npmGlobalPackages:
gatsby-cli: 2.12.7
Maybe related:
The text was updated successfully, but these errors were encountered: