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

The 'Delete block' option vanishes when dragging a block and hovering over another icon. #3835

Open
3 of 4 tasks
thefffilo opened this issue Mar 23, 2024 · 3 comments
Open
3 of 4 tasks

Comments

@thefffilo
Copy link
Contributor

thefffilo commented Mar 23, 2024

Description

To delete a block you can drag and drop it in the box with the bin in the bottom right corner.
But if, while dragging the block, you hover another icon, the box with the bin disappears.
Anyway if you drop the block in the same place where there was the box, the function works, hence the block gets deleted.

Expected Behavior

I'd expect the box with the bin to remain visible even if I hover other icon while dragging the block.

How to Reproduce

Drag a block and hover another icon while doing it. You'll se the

Console log Errors:

No errors.

Environment:

  • Operating System: Linux Ubuntu
  • Browser (if applicable): Chrome
  • Version of Software/Project: 3.5.9

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

📚 See contributing instructions.

🙋🏾🙋🏼 Questions: Community Matrix Server.

@apsinghdev
Copy link
Contributor

I guess the code is written in such a way that it thinks that the user doesn't want to delete the block when they hover over other icons at the time of dragging it hence it disappears. however, @walterbender can provide better thoughts on this.

@walterbender
Copy link
Member

There is a built-in delay when deleting with the trashcan so users don't accidentally delete blocks.

@thefffilo
Copy link
Contributor Author

@walterbender I think it's only a visual problem, because if I drop the block where the trashcan it actually works.

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