Closed itsLucario closed 4 years ago
Thanks for the pull request. I just tried to solve your issue using a QueryList to retrieve the iframe I didn't like the way I retrieved the iframe anyway. Could you check if 1.2.2 works for you?
Actually I tried this approach. But for some reason it is not working with the module, I tried to debug but didn't get to know why its not working. That is the reason I went with alternate approach.
Can you cross check by debugging whether QueryList is returning iframes or not? I tried with 1.2.2 it's not working
I have fixes the issue with ViewChildren. Let me know if its good.
Thanks a lot @itsLucario I make a stupid mistake, thanks for fixing. 1.2.3 should work.
Thanks a lot @itsLucario I make a stupid mistake, thanks for fixing. 1.2.3 should work.
😄
Doc viewer won't work if there are multiple iframes. Cause reloading works based on
iframe.src = iframe.src
and it replaces src of some other iframe.So added validations to check whether it's updating src of document viewer iframe.