jakearchibald / sketch-chain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrolls when trying to draw on iPad in landscape

flackr opened this issue · comments

Playing on an iPad in Safari with an Apple pencil or finger, my friend had problems with the page scrolling instead of drawing.

I tried to debug this and as far as I can from the debugger this seems like it may be a Safari bug. The canvas is marked touch-action: none and the iframe in the same position has pointer-events: none, so we should only be hitting the canvas and not scrolling but for some reason after the first touch is released it starts scrolling.