Minimal reproduction of the bug/regression with instructions:
When moving mouse over node in drag mode sometimes dragleave fires (and it is followed by immediate 'dragover' again) which is causing classname is-dragging-over to reapply. And as we have background color change applied for is-dragging-over our node is blinking on drag which looks buggy. Here is a gif attached.
Expected behavior:
'is-dragging-over' is not reapplied when still over node.
Versions of Angular Tree Component, Angular, Node, affected browser(s) and operating system(s):
Minimal reproduction of the bug/regression with instructions:
When moving mouse over node in drag mode sometimes
dragleave
fires (and it is followed by immediate 'dragover' again) which is causing classnameis-dragging-over
to reapply. And as we have background color change applied foris-dragging-over
our node is blinking on drag which looks buggy. Here is a gif attached.Expected behavior:
'is-dragging-over' is not reapplied when still over node.
Versions of Angular Tree Component, Angular, Node, affected browser(s) and operating system(s):
Browser: Chrome Version 95.0.4638.69 (Official Build) (64-bit) OS: Windows 10 latest Node: v14.17.5
Other information:
Probably could be fixed by #927
I would be willing to submit a PR to fix this issue
[ ] Yes (Assistance will be provided if you need help to submit a pull request) [X ] No