Processing.js full screen web app not getting the focus on ios device until screen pressed twice

Hi,

Just wondered if anyone has any easy answers. For my processING.js app if I run it in a browser it works fine (you'll need to first shrink the screen down to get it to display correctly).

However when I put this on an ios device Iphone, ipad etc and add to homescreen as a kind of offline web app, I find when I open the app. the first press does not do anything. its like the first press set the focus on the canvas and only subsequent presses do anything. Ive tried all sorts of fixes, tabindex etc.

I just wondered if someone would be kind enough to take a look at the index.html here and explain what I need to change to get it to set the focus on the canvas as soon as the page loads full screen as a webapp.

onepool.co.uk/webapp/v1.00g/?datachannel=5384&commandchannel=122&zone=Europe/London&key=TDLGHVHNORJAWXXX&name=Chris%27s%20Solar%20Controller

Sign In or Register to comment.