We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<p>
When opening a sharing modal, recipients list uses a <Typography> component that generated nested <p> elements in DOM.
<Typography>
Nested <p> elements can be rendered but this does not produce a HTML document that is not conform with W3C specifications. A <p> element should contain only phrasing content : http://dev.w3.org/html5/spec/single-page.html#phrasing-content
phrasing
This bug may be related to cozy-ui but the documentation seems not to have this problem: https://docs.cozy.io/cozy-ui/react/#!/Typography
cozy-ui
Rendered component:
Generated DOM:
Error displayed in dev mode:
Code responsible for this component :
cozy-libs/packages/cozy-sharing/src/components/Recipient.jsx
Lines 298 to 321 in 9f463ef
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When opening a sharing modal, recipients list uses a
<Typography>
component that generated nested<p>
elements in DOM.Nested
<p>
elements can be rendered but this does not produce a HTML document that is not conform with W3C specifications. A<p>
element should contain onlyphrasing
content : http://dev.w3.org/html5/spec/single-page.html#phrasing-contentThis bug may be related to
cozy-ui
but the documentation seems not to have this problem: https://docs.cozy.io/cozy-ui/react/#!/TypographyRendered component:
![image](https://user-images.githubusercontent.com/1884255/128732758-4dc18b7b-8709-48b0-916d-9cc286a552e3.png)
Generated DOM:
![image](https://user-images.githubusercontent.com/1884255/128732727-5a0d50f8-2bea-4dd2-a0b5-47e270f3dcaa.png)
Error displayed in dev mode:
![image](https://user-images.githubusercontent.com/1884255/128733110-f605a6b7-663a-45fd-bcea-a5b337f5d0f3.png)
Code responsible for this component :
cozy-libs/packages/cozy-sharing/src/components/Recipient.jsx
Lines 298 to 321 in 9f463ef
The text was updated successfully, but these errors were encountered: