Closed JanvanCasteren closed 4 years ago
the code is like this:
<div class="dropzone" *ngIf="showDropzone"
dndDropzone
dndDragoverClass="dragover"
(dndDrop)="onDrop($event)"
></div>
with css
.dropzone {
border: 1px solid $primary-color;
&.dragover {
background-color: rgba($primary-color, 0.5);
}
}
What did you do to fix this issue?
In notice that the dragover class is not always removed when the mouse is moving out of the dropzone. This behaviour is inconsistent. When I repeat dragging over the dropzone sometimes the class is correctly removed and sometimes not. I don't really see a pattern.
Could this be a bug, or must it be something that incorrect in my code?