Prinzhorn / skrollr

Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop. No jQuery. Just plain JavaScript (and some love).
http://prinzhorn.github.io/skrollr/
MIT License
18.53k stars 3.51k forks source link

IFrame (Specifically Facebook Comments) within Skrollr using iPad #443

Open GardenMindful opened 10 years ago

GardenMindful commented 10 years ago

Hi. Absolutely loving this plugin but I am having a major issue on the iPad that I don't know how to fix. I have all my animations working great until I try to introduce Facebook comments to a page. When I am scrolling the page and my finger is on the iFrame generated by the Facebook comments it totally breaks the site. Also when I click to add a comment the iPad keyboard actually interacts with my backgrounds and, again, completely screws up the site. I can alleviate this from happing by adding:

iframe { pointer-events: none; }

but then you can't interact with the comment box at all. Anyone else experienced issues with iFrames within Skrollr on iPad and know of any fixes. Help!!!!

Most appreciated!

Larzans commented 10 years ago

Safest thing to do is use the php api...