When I open the lightbox in Angular 5, everything is ok, but, when I close it and open a new dialog with ngModal, the lightbox appears again plus the new lightbox from ngModal. Why is that?
import {NgbModal, ModalDismissReasons} from '@ng-bootstrap/ng-bootstrap';
So, in summary, when I open de ngx-lightbox dialog and then open some new dialog with NgbModal, the ngx-lightbox appears again, with the last pictures seen, and breaks the normal flow.
Please, help me with this. I already took some many hours to see what is happening without positive results
When I open the lightbox in Angular 5, everything is ok, but, when I close it and open a new dialog with ngModal, the lightbox appears again plus the new lightbox from ngModal. Why is that?
The button save:
The dialog that appears:
And the opening method:
So, in summary, when I open de ngx-lightbox dialog and then open some new dialog with NgbModal, the ngx-lightbox appears again, with the last pictures seen, and breaks the normal flow.
Please, help me with this. I already took some many hours to see what is happening without positive results
Thanks in advance