angular2-draggable icon indicating copy to clipboard operation
angular2-draggable copied to clipboard

click is not called only at first

Open canbax opened this issue 4 years ago • 0 comments

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. image

below is the code for my button

<button title="yuppii" type="button" class="btn btn-primary m-1" (click)="yuppi()">
  YUPPIII
</button>
```

canbax avatar Mar 11 '20 11:03 canbax