I cannot solve this problem: I have a div that I show and hide as a popup with jquery. Content - facebook comment plugin. This is the code:
<div id="popup"> <div class="mask"> <div class="fb-comments" data-href="http://www.example.com" data-num-posts="30" data-width="470" data-colorscheme="light"></div> </div> </div>
This is the CSS that I have so far:
#popup { position:absolute; left:0px; top:0px; width:512px; height:530px; background:url(../img/bg_popup.gif) repeat-x 0px 0px; display:none; overflow:hidden; z-index:110; } #popup .mask { margin:5px 0px 0px 10px; width:498px; height:475px; overflow-y: scroll; overflow-x: hidden; }
I position the popup in the center of the screen using jquery and everything works fine in all browsers. A popup will appear and I can scroll the contents.
Problem with iPad Safari. Div is not scrolling and is already trying to use webkit-overflow: touch scrolling, but nothing happens.
One more thing: if I start by displaying a popup set to "block", scrolling will work, but the contents will appear in pieces.
Any ideas? Thanks!
source share