I faced issue with Iframe in Angular 7. When the history back button is pressed, the browser changes only the iframe and not the entire page, I need to press 2 times the back button to go in the previous page.
HTML
<iframe #iframe [src]=src class="iframe" id="iframe" style="min-height: 100px;"></iframe>
Component
In component I assigned src like this
this.src = this.domSanitizer.bypassSecurityTrustResourceUrl('url');
I tried by assigning src with Jquery but it is not working with bypassSecurityTrustResourceUrl.