angular2-draggable
angular2-draggable copied to clipboard
click is not called only at first
I have a draggable and resizable div. I have a button which is close to the upper right of the div.
Click event of the button is not called only at first. After first is missed, it starts calling.
Interestingly, if I put the button a bit down, it calls the function. Again interestingly, If I remove title tag from the upper right button, it works again.
For example, the button below works. If I put the same button on the upper right, it does not work at first click.
below is the code for my button
<button title="yuppii" type="button" class="btn btn-primary m-1" (click)="yuppi()">
YUPPIII
</button>
```