question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting elementKeyDownEventRemover() is not a function when removing file preview

See original GitHub issue

We 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Fralleeecommented, Apr 12, 2018

Works great. Good job!

0reactions
lifenautjoecommented, Apr 11, 2018

Hey @Fralleee , I believe fixed with #21 and deployed with #22 .

Please run npm update droppable --save once more.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found