Open foxjordan opened 2 years ago
@foxjordan your code have issues.
1 - HTML h4 tag issue
// wrong
<h id={sec.title}>{sec.title}</h4>
// right
<h4 id={sec.title}>{sec.title}</h4>
2 - key issue.
// wrong
<details open key={section.id}>
// right
<details open key={sec.id}>
@crabbly I believe it issue must be closed.
I do a test with map in React.js and it works normally.
CodeSandbox https://codesandbox.io/s/loving-danny-3jq6y2
Trying to create a PDF of articles. The articles are displayed on the page by mapping through its sub-sections. This works when there is only one sub-section, but doesn't even trigger the browser's print pane when there's more than one. Is this something dumb that I'm doing or a limitation of the library?