felixrieseberg / felixrieseberg/React-Dropzone-Component

TypeError: Object doesn't support property or method 'apply' on IE and EDGE

Open
#161 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
999
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Hello.. I am getting a production error on IE and EDGE from the react-dropzone-component as I show in the following Tracebak:

```TypeError: i[(a++)].apply is not a function
1
File "../node_modules/react-dropzone-component/dist/react-dropzone.js" line 1 col 6926 in a.value
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"...
2
File "../node_modules/react-dropzone-component/dist/react-dropzone.js" line 1 col 40302 in a.value
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"...
3
File "../node_modules/react-dropzone-component/dist/react-dropzone.js" line 1 col 39729 in a.value
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"...
4
File "../node_modules/react-dropzone-component/dist/react-dropzone.js" line 1 col 36228 in XMLHttpRequest.r.onerror
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"...```

Any ideas?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the IE and Edge traceback in dist/react-dropzone.js, especially the reported XMLHttpRequest error path and the locations around columns 6926, 36228, 39729, and 40302. Reproduce the production error in those browsers and determine the affected behavior; done means the TypeError no longer occurs during the upload flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.