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

During nml drag’n’drop: Cannot call hover while not dragging #4336

Closed
fm3 opened this issue Nov 25, 2019 · 3 comments · Fixed by #4544
Closed

During nml drag’n’drop: Cannot call hover while not dragging #4336

fm3 opened this issue Nov 25, 2019 · 3 comments · Fixed by #4544
Assignees

Comments

@fm3
Copy link
Member

fm3 commented Nov 25, 2019

I get a toast message when dragging an NML into an already-big-and-slow tracing:

An unknown error occurred. Please consider refreshing this page to avoid an inconsistent state. Error message: Invariant Violation: Cannot call hover while not dragging.

The import dialog shows up only when i release the mouse, after clicking away the error I can continue normally.

@philippotto
Copy link
Member

solution for now: don't show this toast. maybe there is a blacklist functionality we can re-use.

@MichaelBuessemeyer
Copy link
Contributor

Sadly this bug is caused by the library react-dropzone, updating does not help. Here is the issue about this error.

I'll just blacklist the error as suggested 👍

@MichaelBuessemeyer
Copy link
Contributor

btw: The error is independent of the tracing size. The dropdown modal just gets messed up when using the import often enough when the window is maximized. But that's only how I reproduced this bug 🤷‍♂️

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

Successfully merging a pull request may close this issue.

3 participants