I am currently working on an Instagram page that is visible through an iframe. Everything seems to be functioning fine on my iMac, but I am facing an issue with scrolling on my iPhone and iPad?
After reviewing my code, I couldn't find any hidden overflow. Here is a snippet of the CSS code I am using:
body {
overflow: scroll!important;
-webkit-overflow-scrolling: touch!important;
}
.rightpart {
background:#fff;
padding-top: 0px!important;
padding-bottom: 0px!important;
overflow-x: hidden !important;
overflow-y: scroll !important;
-webkit-overflow-scrolling:touch !important;
height:600px;
}
In addition, here is a snippet of the HTML code where I embed the iframe for the Instagram page:
<div class="leftpart"></div>
<div class="rightpart">
<iframe style="border:0px; min-width: 100%; overflow: hidden; min-height:800px;" src=".../"></iframe>
</div>
<script type="text/javascript" src="index/js/functions.js"></script>