You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
The problem seems to be with the inner counter of drag events inside the Dropzone.Fullscreen component.
When you drop a file you don't get a 'dragleave' event so the counter stays at 1.
I think resetting the counter to 0 when the user drops a file could solve the problem.
The text was updated successfully, but these errors were encountered:
esheliko
added a commit
to esheliko/mantine
that referenced
this issue
Jul 27, 2023
What package has an issue
@mantine/dropzone
Describe the bug
This can be reproduced in the mantive.dev website! here
(I'm using Chrome 115)
Steps to reproduce:
You will see that the dropzone stays open and in fact renders the user stuck unless they drop a file.
What version of @mantine/hooks page do you have in package.json?
6.0.17
If possible, please include a link to a codesandbox with the reproduced problem
https://mantine.dev/others/dropzone/#dropzonefullscreen-component
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
The problem seems to be with the inner counter of drag events inside the Dropzone.Fullscreen component.
When you drop a file you don't get a 'dragleave' event so the counter stays at 1.
I think resetting the counter to 0 when the user drops a file could solve the problem.
The text was updated successfully, but these errors were encountered: