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

"An error has occurred while a drag is occurring." when there's no drag occurring. #1472

Closed
YCMitch opened this issue Sep 3, 2019 · 2 comments

Comments

@YCMitch
Copy link

YCMitch commented Sep 3, 2019

Ever since updating to the lasted version of react-beautiful-dnd, every single error reported anywhere in the app is always preceded by the "An error has occurred while a drag is occurring." message.

It's not a huge deal as I can still read the error, but there's certainly no drag occurring. I'm not going to spend all day setting up a repro for something this minor, I was just wondering if anyone else has encountered this?

@mattkrick
Copy link

can confirm.
window.addEventListener('error', this.onFatalError); fires on mount.

this.onFatalError doesn't actually check to see if a drag is in progress. it should.

@alexreardon
Copy link
Collaborator

Yes it should! We'll track this here: #1108

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

No branches or pull requests

3 participants