How do I Enable Native Scroll On An Embedded C2 Game?

Get help using Construct 2

Post » Thu Dec 18, 2014 10:54 pm

Hello Construct 2 community,

I just recently purchased a personal license, and I think this software is really incredible. Amazing.

I have a very simple game 100% built out, published, etc., which is embedded in an iframe.

All is well accept for the fact that in Safari iOS, the native window scroll is disabled - so when a user is attempting to scroll down the page, and hits the game in it's iframe, they are locked there and cannot scroll past it.

Any ideas on how to not disrupt native scrolling? I did a ton of digging and the closest I came to an answer involved "event.preventDefault()" being called from the js. I removed it, with no change to the behavior.

Any help would be appreciated, and thanks in advance
B
5
Posts: 2
Reputation: 236

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests