Getting elementKeyDownEventRemover() is not a function when removing file preview
See original GitHub issueWe are using the drop as a file uploader where you can clear the files when the upload is finished.
When I clear a file, this is done by clicking the file, I get the error message: this.elementKeyDownEventRemover() is not a function when removing file preview
This happens if I drop a file and clear it by clicking on it. If I however focus the droppable element beforehand, clicking on it and browse to the file. I don’t get the error.
Since we’re using react I can do a workaround like this:
componentDidMount() { this.dropzone.focus() }
But it shouldn’t be necessary.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
How to Disable Preview Pane in File Explorer
I'm trying to get rid of the stupid Preview Pane after I clicked something I didn't want to, while trying to make my...
Read more >How to disable Preview Pane in File Explorer - Ablebits
Learn how to disable Preview Pane in File Explorer.
Read more >Preview Pane Not Working in Windows 10? 8 Ways to Fix It
1. Ensure the Preview Pane Isn't Disabled. The absence of the preview option in File Explorer indicates that the feature has been disabled....
Read more >Top 8 Fixes for Preview Pane Not Working in Windows 10
Microsoft's Windows Explorer lets you take a peek at a file with the Preview Pane. That way, you get a preview of the...
Read more >Removing the file preview on the right side of the editor in VS ...
You can go to 'View' and select Command Palette or just Ctrl + Shift + P and type in the word 'minimap', you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Works great. Good job!
Hey @Fralleee , I believe fixed with #21 and deployed with #22 .
Please run
npm update droppable --save
once more.