Website won't scroll or zoom on iphone. NodeJS canvas project

China☆狼群 提交于 2020-01-05 07:57:13

问题


I have a problem that I've been working on for the past 10 hours (going crazy).

I've been working on a revised version of Walma - which is a collaborative white board written for node.js. I have placed a div header above the whiteboard, and a content area and footer div below it.

This works perfectly on my pc, however when I try to run it on my iPhone I can not scroll down the page to view content. It's like there is no permission to do this- I can not scroll or zoom or anything apart from draw on the canvas.

Notes: I have made the canvas only take up 60% of the iphone screen so that I am able to scroll (as apposed to draw). But this doesn't work. I have removed the meta tags that you see in the demo. I have changed the css multiple times with no success.

Is there something I'm over looking? Is there some javascript that's preventing iphone from scrolling that I haven't noticed? I would be incredibly thankful if anyone could point me in the right direction.

Git (demo is linked in the description top) : https://github.com/opinsys/walma

My adaptation : https://dl.dropboxusercontent.com/u/91956067/walma.tar.gz

Many Many thanks,

Joel.

来源:https://stackoverflow.com/questions/16610251/website-wont-scroll-or-zoom-on-iphone-nodejs-canvas-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!