-
Notifications
You must be signed in to change notification settings - Fork 342
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
Missing keys on iterators #73
Comments
Can confirm. That would fix it. |
@apennell @aaronnorby I am also experiencing this issue. I went ahead and created a PR to fix this: #107 |
Awesome @cmwint! Switched jobs and forgot about this issue 😁 |
Still issue is there, if anyone there to maintain it please do it first, its a really good package. |
Looks like the change never got deployed to npm |
Just kidding it looks like the change got removed in this commit Current code in master: react-file-viewer/src/components/drivers/pdf-viewer.jsx Lines 129 to 135 in e474c12
|
@michaelwolo can we get this change undone? |
bumping this. Any chance this can happen? |
Made a pr to fix #179 |
The issue still exists. till 2019. is this lib maintained? |
Version:
^0.4.2
Steps to Reproduce
View a PDF with multiple pages
Look at JS console in browser
Expected Behavior
Keys on all iterators so that there are no warnings
Actual Behavior
Warning in console:
I tracked this line 117 in pdf-viewer.jsx, although it may be happening in other file type components as well. A key needs to be added here within
<PDFPage />
:key={`page-${index}`}
. I don't have time at the moment to do it, but if you're open to PR's I may be able to get to it.The text was updated successfully, but these errors were encountered: