Louis Augry

Results 18 comments of Louis Augry

I have the same problem when I have custom location, without custom location it works.

Hi @KrishnaSharmaCC `lastElementFocused` is set when you open the modal. Can you show me your method `modalClosed() `, because it seems you're doing something on close event

I'll try to work on it to find a solution. It could give us a distinct advantage over competing libraries ✌️😉

> I have made roughly working solution, but haven't got time to fix unit tests > https://github.com/GrzegorzTokarz/ngx-smart-modal/tree/feature/dynamic-content That's look good ! Thanks for helping us with this issue. I'm gonna...

I've the correct error on my stackblitz `Cannot find modal with identifier customers` https://stackblitz.com/edit/angular-lazy-loading-smart-modal

> > I've the correct error on my stackblitz `Cannot find modal with identifier customers` > > So far I think it's normal. The modal DOM is no longer available...

This is a demo's issue, not coming from ngx-smart-modal

There is no problem on local, and on prod [ngx-smart-modal.biig.now.sh](ngx-smart-modal.biig.now.sh). Maybe github-page have wrong configuration

> I was facing **ERROR Error: Cannot find modal with identifier**. ngx modal throwing error when I try to open or close modal using `ngxSmartModalService.open()` or `ngxSmartModalService.close()` in component ts...