You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Close icon doesn't get rerendered all the time so that it can be clicked.
What is the current behavior?
Due to [innerHTML]="sanitizer.bypassSecurityTrustHtml(closeIcon)" in the lightbox.component.ts, if change detection runs often enough, it causes the close icon to be rerendered all the time and prevents it effectively from being clicked -> the lightbox doesn't get closed.
What is the expected behavior?
Close icon doesn't get rerendered all the time so that it can be clicked.
What is the current behavior?
Due to
[innerHTML]="sanitizer.bypassSecurityTrustHtml(closeIcon)"
in the lightbox.component.ts, if change detection runs often enough, it causes the close icon to be rerendered all the time and prevents it effectively from being clicked -> the lightbox doesn't get closed.What are the steps to reproduce?
https://stackblitz.com/edit/ngx-gallery-imageviewer-k2e3qu
Which versions are you using for the following packages?
Angular: 8.2.11
Angular CDK: 8.2.3
Angular CLI: 8.3.9
Typescript: 3.4.5
Gallery: 4.0.3
The text was updated successfully, but these errors were encountered: