My problem is a pretty simple one but the solution seems to be impossible.
I have a canvas which has a reqestAnimationFrame(draw) loop as well as a setInveral(update) loop running and drawing to a html canvas. Whenever a click/touchstart is registered, anywhere on the screen at all, both of these loops freeze for 100 or so ms and the loop essentially ‘stutters’.
This is extremely noticeable and makes any sort of game unplayable. Are there any solutions to this problem?
For example can I turn off all the touch event listeners within ionic when in that view?
This problem does not occur when running in a pure angular environment or pure html environment.