IFrame rerendering/remove kills complete Page in IE
OpenUI5 version: any
Browser/version (+device/version): IE11 (11.0.9600.18524)
Any other tested browsers/devices(OK/FAIL): Chrome is OK
URL (minimal example if possible): https://output.jsbin.com/qakotawaze/1
Steps to reproduce the problem:
- Click the buttons
What is the expected result? A clean remove resp. rerendering.
What happens instead? Instead the complete page turns white (remove via jQuery, SAPUI5 rerender iframe, SAPUI5 rerender parent). The only thing still visible is the iframe. Sometimes the page recovers after quite a while.
Have seen the same issue with the same browser in a different SAP product.
Also the following JQuery UI bug describes the behavior:
https://bugs.jqueryui.com/ticket/9122
It seems to help to set the iframes src attribute to "about:blank" before removing the iframe.
Kind Regards, Christoph
Hi @cschuff, thank you for the issue.
I went through this flow:
-
button remove via jQuery - I removed the iframe with jquery
-
button SAPUI5 rerender iframe After removed, the handler does nothing, because $("iframe").control()[0] does not exist, if $("iframe").control()[0] does not exist- $("iframe").control()[0] .rerender() does nothing.
-
button SAPUI5 rerender parent - the VBox rerenders itself, including the iframe, which is normal.
Is there something I am missing? If I understood you corectly, you expect pressing button SAPUI5 rerender iframe to bring the iframe back? Thanks in advance.
best, ilhan
Since there is no response from the author for more than 4 weeks I'm closing the ticket.