I'm newbie using react and I'm trying now to get when a phone user touch screen, my web app interpretes that like the user has touched in another screen point. For example, a bit above.
I'm trying this:
onTouchStart = {(event) => {
event.touches [0] .pageY = event.touches [0] .pageY + 250;
}
});
But I'm getting this: ** Uncaught TypeError: Can not assign to read only property 'pageY' of object '# ' **
How can I fix it? Can I get same results with another way? If you can give me a hand I really will to thank you. Thank you in advance.