Scroll inside iframe depends on native platform capabilities. Touch library do not interfere with it in any way. From our experience - it means that scroll do not work on many devices. As this is OS level functionality, it can’t be fixed from js lib.
so that the PHP pages do not load?
It must not matter. While server side returns correct html data - there will not be difference, is it generated by php script or just a plain html file. Try to load the same php url in separate browser’s window.
There is no any restrictions on content inside the iframe
If issue still occurs - please provide any kind of sample or demo linke where it can be checked.
Using iframe component, data was displayed properly, but I had to change iframe by template component, due to scroll issue, and I am experimenting some problems to load my pages using template.
I found that all the content you have after an HTML comment is not shown, so the solution was to delete comments.
The problem now is that the javascript code is not executed inside the template component. Please, see my demo. Any help would be appreciated.
<script>
document.write("javascript is not working");
alert("test");
</script>
<div>
text before comment is displayed
<!--comment-->
text after comment is not displayed
</div>
This is expected. Template is purposed to be a static html, it is injected in page as innerHTML and browser will not process script tags for such content.