Why touchmove not working in Android and how to fix it?

linewire.ru/t/3d/3d.html

ios 8.3 spinning cube and on Android no...

var posX,posY;

 positFingers function(e){
posX=e.pageX;
posY=e.pageY;

 cub.style.cssText = "position: relative; -webkit-transform-style: preserve-3d; -webkit-transform:rotateY("+posX+"deg) rotateX("+posY+"deg); width: 220px; height: 200px; margin: 10% 40%;";


};

 window.addEventListener('touchmove',positFingers,false);
July 9th 19 at 10:50
1 answer
July 9th 19 at 10:52

Find more questions by tags JavaScript