RichS's Forum Posts

  • 2 posts
  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello,

    I am working on a small game, and everything is working 100%.

    When I embed the game in an iframe, the undesired result is that native scroll specifically in mobile safari breaks (fine on desktop). So users cannot scroll past the game within the page.

    I have removed "touch-action: none;" from the CSS, which has been said to cause native scroll to break - with no results.

    Any ideas would be much appreciated, thanks in advance!

  • 2 posts