Skip to content
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

1.0.5 #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

1.0.5 #9

wants to merge 1 commit into from

Conversation

Naghal
Copy link

@Naghal Naghal commented Apr 20, 2022

Fix TypeError when filepond component is unmounted

@Naghal
Copy link
Author

Naghal commented Apr 20, 2022

Fixes the following error:

filepond-plugin-pdf-preview.js:180 Uncaught TypeError: Cannot read properties of null (reading 'file')
    at filepond-plugin-pdf-preview.js:180:1
    at filepond.js:1445:1
    at filepond.js:1096:1
    at Array.forEach (<anonymous>)
    at Object._write (filepond.js:1095:1)
    at filepond.js:1125:1
    at Array.forEach (<anonymous>)
    at Object._write (filepond.js:1122:1)
    at filepond.js:1125:1
    at Array.forEach (<anonymous>)
    at Object._write (filepond.js:1122:1)
    at filepond.js:1125:1
    at Array.forEach (<anonymous>)
    at Object._write (filepond.js:1122:1)
    at filepond.js:1125:1
    at Array.forEach (<anonymous>)
    at Object._write (filepond.js:1122:1)
    at filepond.js:1125:1
    at Array.forEach (<anonymous>)
    at Object._write (filepond.js:1122:1)
    at Object._write (filepond.js:11397:1)
    at filepond.js:12393:1
    at Array.forEach (<anonymous>)
    at filepond.js:12392:1
    at filepond.js:1408:1
    at Array.forEach (<anonymous>)
    at tick (filepond.js:1407:1)

@Tofandel
Copy link

Tofandel commented Aug 1, 2022

This PR has tons of unrelated changes to the fix

Here is a clean PR fixing the same error #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants