ngx-image-compress icon indicating copy to clipboard operation
ngx-image-compress copied to clipboard

the pop-up window opens twice

Open BrunoPorfidio opened this issue 1 year ago • 1 comments

Hello guys, i found a error, when i use the image compress in a input connected a Label, the Pop-up windows opens twices.

<label for="logotipo">
<i class="bi bi-plus-lg"></i>
</label>
<input  (change)="compressFile()" type="file"  name="logotipo"  id="logotipo" 
   accept="image/png, image/jpeg" formControlName="logotipo" [class.is-invalid]="invalidLogo"
   alife-file-to-base64 >

i cannot change the label for a button, because my validation dont work, and if i change the (change) for (click), happens the same.

BrunoPorfidio avatar Nov 30 '23 22:11 BrunoPorfidio