Open therealharshit opened 5 hours ago
@walterbender Have you encountered this issue.
I had not noticed that before.
@walterbender Have you encountered this issue.
yes, i've encountered the issue
I had not noticed that before.
I'll try to solve this.
I had not noticed that before.
I'll try to solve this.
can you share the file path in which you think the problem exists
can you share the file path in which you think the problem exists
the function this.drawSelectionArea()
is responsible for highlight which is in js/activity.js
draw selection is supposed to be triggered by dragging on the canvas. Maybe what is happening is that when you drag up to the top of the screen, the block drag is ended and it then confuses dragging a block with dragging on the canvas?
can you share the file path in which you think the problem exists
the function
this.drawSelectionArea()
is responsible for highlight which is in js/activity.js
tried some changes and it worked well.
draw selection is supposed to be triggered by dragging on the canvas. Maybe what is happening is that when you drag up to the top of the screen, the block drag is ended and it then confuses dragging a block with dragging on the canvas?
Yes @walterbender you were right, when I made changes which ends the drag on navbar the issue get resolved. Here is a PR #4058 for that please review.
Description
Highlight is getting activated when we drag a block near navbar.
Expected Behavior
Highlight should not activate when we drag a block near navbar.
Vedio
https://github.com/user-attachments/assets/86c4d7cb-770d-4d9c-8766-c23b94578ef6
How to Reproduce
Console log Errors:
No console log errors.
Environment:
Checklist
Thank you for contributing to our project! We appreciate your help in improving it.
π See contributing instructions.
ππΎππΌ Questions: Community Matrix Server.