# GUI touch positions are off vertically

**URL:** <https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368>\
**Category:** Questions\
**Tags:** gui\
**Created:** [May 11, 2026, 2:45pm UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368 "2026-05-11T14:45:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [May 11, 2026, 2:45pm UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/1 "2026-05-11T14:45:54Z")

</div>

I have come across an odd issue in my app. This only happens on mobile devices and has not always been an issue but I don’t know when it started since I have not been testing on mobiles devices for a while.

Here is what is happening, the vertical touch position is off on all gui controls by 20 pixels or so. The image probably shows better of what is happening.

Since I don’t when when this started I am not sure how to track down the issue. Do I start by jumping back in the repo until I find a point in time that it was working correctly and keep moving forward in time until it stops working? That seems like it would take a lot of time of track it down that way.

Anyone have any ideas what could cause this before I start down the path of jumping around in time in the repo?

 ![image_2026-05-11_074117043](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/c/5cacfd60e5407fbc8c8166fd7e3edb03c07b0f4e.jpeg)

---

<div class="post-metadata">

**Author:** ![amoebachant](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/amoebachant/32/39450_2.png) [@amoebachant](https://forum.babylonjs.com/u/amoebachant)\
**Post date:** [May 11, 2026, 4:12pm UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/2 "2026-05-11T16:12:48Z")

</div>

Hi @Trevor_Orr , can you reproduce this in a playground and let me know the particular device this happens on for that playground?

---

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [May 11, 2026, 4:50pm UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/3 "2026-05-11T16:50:42Z")

</div>

I setup the menu in a playground and it seems to work fine

---

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [May 11, 2026, 5:04pm UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/4 "2026-05-11T17:04:41Z")

</div>

This happens on my Samsung cell phone an Samsung tablet. Maybe I need to setup the entire UI and not just the menu on the playground.

---

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [May 11, 2026, 9:34pm UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/5 "2026-05-11T21:34:16Z")

</div>

I started commenting out UI components one at a time and was able to track down which UI component is causing the issue, now I just have to figure what the issue is in the component.

---

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [May 11, 2026, 10:17pm UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/6 "2026-05-11T22:17:09Z")

</div>

I finally tracked down the issue. I added some code to try and fix another UI issue I am having which did not fix the other issue and I forgot to remove it. After removing that code this issue is now resolved.

---

<div class="post-metadata">

**Author:** ![amoebachant](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/amoebachant/32/39450_2.png) [@amoebachant](https://forum.babylonjs.com/u/amoebachant)\
**Post date:** [May 12, 2026, 1:12am UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/7 "2026-05-12T01:12:12Z")

</div>

Great, glad you found it!

---

<div class="post-metadata">

**Author:** ![Trevor\_Orr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevor_orr/32/50348_2.png) [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Post date:** [May 12, 2026, 1:25am UTC](https://forum.babylonjs.com/t/gui-touch-positions-are-off-vertically/63368/8 "2026-05-12T01:25:51Z")

</div>

Apparently the original issue I was trying to fix is a know bug in Opera. Guess I will just have to deal with it until they fix it.
