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

Uploading files - Bugs with Drag and Drop area "drag over" state #5195

Open
sanmont3drepo opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@sanmont3drepo
Copy link
Contributor

Description

Product issue: https://github.com/3drepo/3D-Repo-Product-Team/issues/462

1 - The Drag and Drop component incorrectly loses its teal 'active' state if the user drags a file over the text inside the Drag and Drop component. This is purely visual and dropping the file still works as expected
2 - If the user were to (for some reason) drag a selection of text over the area and let go then the component gets stuck in the active state

  • This is happening in: prod/staging/both
  • This requires a hotfix to production: yes/no

Steps to replicate

  • Open the file uploads modal
  • Drag a file over the Drag and Drop are
  • Drag the file over the text/button
  • Select some of the text in the modal
  • Drag it over the Drag and Drop area and let go

Current Behaviour

  • The drag and drop shows the incorrect state

Expected Behaviour

  • The state of the drag and drop component reflects accurately whether a file is being held over it

Pictures/ Gifs of the error

image

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

1 participant