# Touch input on ios (ipad) does not work

**URL:** <https://forum.babylonjs.com/t/touch-input-on-ios-ipad-does-not-work/885>\
**Category:** Questions\
**Created:** [January 22, 2019, 4:23pm UTC](https://forum.babylonjs.com/t/touch-input-on-ios-ipad-does-not-work/885 "2019-01-22T16:23:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeVN](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joevn/32/199_2.png) [@JoeVN](https://forum.babylonjs.com/u/JoeVN)\
**Post date:** [January 22, 2019, 4:23pm UTC](https://forum.babylonjs.com/t/touch-input-on-ios-ipad-does-not-work/885/1 "2019-01-22T16:23:20Z")

</div>

I’ve created a project using babylon, and it works fine on Android, Windows and Mac. But on IOS, at least on the ipad pro, the touch input does not work. I’ve already set touch-action to none, and the style of my canvas is :

#render-canvas {  
position: absolute;  
top: 0;  
left: 0;  
width: 100%;  
height: 100%;  
touch-action: none;  
background-image: url("/images/background.png");  
background-color: #fafafa;  
background-size: cover;  
background-position: center;  
}

[https://drive.google.com/open?id=1Ay06AWs6jAntsdt21h3XVZxS4q\_I31vz](https://drive.google.com/open?id=1Ay06AWs6jAntsdt21h3XVZxS4q_I31vz) =\> Screencap of the behaviour

Does any one knows what is going on?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [January 22, 2019, 5:40pm UTC](https://forum.babylonjs.com/t/touch-input-on-ios-ipad-does-not-work/885/2 "2019-01-22T17:40:35Z")

</div>

did you make sure to import jQuery PEP? This is a required polyfill as Apple is not supporting Pointer events (Safari is the new IE6).

Also make sure to add touch-action=“none” on your canvas as well (as attribute)

---

<div class="post-metadata">

**Author:** ![JoeVN](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joevn/32/199_2.png) [@JoeVN](https://forum.babylonjs.com/u/JoeVN)\
**Post date:** [January 23, 2019, 1:01pm UTC](https://forum.babylonjs.com/t/touch-input-on-ios-ipad-does-not-work/885/3 "2019-01-23T13:01:02Z")

</div>

Thanks a lot. The PEP solved the issue.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [January 23, 2019, 4:35pm UTC](https://forum.babylonjs.com/t/touch-input-on-ios-ipad-does-not-work/885/4 "2019-01-23T16:35:58Z")

</div>

Wonderful
