# How to prevent touch screen from trying to scroll inner containers or embedded views instead of parent container

**URL:** <https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 21, 2026, 3:20pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642 "2026-05-21T15:20:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nol](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nol](https://forum.inductiveautomation.com/u/Nol)\
**Post date:** [May 21, 2026, 3:20pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642/1 "2026-05-21T15:20:45Z")

</div>

I'm trying to troubleshoot a nuisance bug specific to touch screens / perspective mobile app.

I have a layout where I have a tab container and views embedded within it. Each of those views is a coordinate container as they are P&ID layouts. The client did not want breakpoint containers and smaller designs but rather a pan/pinch/zoom style so the screens are identical on mobile vs PC.

What happens is sometimes when things are slightly zoomed in, I touch to pan on the W01 portion of the screen, it tries to move the embedded view within the tab container, which has no where to move and thus does not actually move. However if I touch higher on the tab portion then I can pan the whole screen.

My question is are there any settings I can try to try and fix it so that it cannot pan the inner containers? Would toggling the useDefaultViewWidth/Height affect this, would the style overflow options help? I've tried various combinations so I'm at a loss if I'm just missing something. When they first load the screen it works fine but if they touch on any blank space within the W01 view and then try to pan it seems to happen.

Layout:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/e/1e207ff7916af32ec6c8f92e986adf0fe5954be2.png)

Note: I know I should probably convert the root back to a flex container. This was the latest round of just trying a few troubleshooting things.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 21, 2026, 11:56pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642/2 "2026-05-21T23:56:17Z")

</div>

I don't know how to solve your issue, but I assume you're using a pan/zoom container provided by one of the 3rd party modules?

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [May 22, 2026, 1:05pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642/3 "2026-05-22T13:05:02Z")

</div>

You might could try adding `pointerEvents:None` to the containers style that you don't want to pan. This will ignore touch actions and click actions. If you want those containers to still have click actions, you should be able to add `touchEvents:None` instead. (untested)

---

<div class="post-metadata">

**Author:** ![Nol](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nol](https://forum.inductiveautomation.com/u/Nol)\
**Post date:** [May 22, 2026, 2:54pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642/4 "2026-05-22T14:54:00Z")

</div>

Thanks, I'll give those a try. Would that still allow embedded objects inside those containers to be clickable though? They still need to be able to tap on a valve to launch a faceplate.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [May 22, 2026, 3:07pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642/5 "2026-05-22T15:07:01Z")

</div>

`touchEvents:None` should, but again, I haven't tested it. You'll have to try it and see.

---

<div class="post-metadata">

**Author:** ![Nol](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nol](https://forum.inductiveautomation.com/u/Nol)\
**Post date:** [May 22, 2026, 7:38pm UTC](https://forum.inductiveautomation.com/t/how-to-prevent-touch-screen-from-trying-to-scroll-inner-containers-or-embedded-views-instead-of-parent-container/115642/6 "2026-05-22T19:38:13Z")

</div>

Went to implement dkhayes suggestion and then noticed that one page had the scrolling issue while another did not. Tracking down one of the levels of embedded containers did not have the use default height/width enabled. Turning that on resolved my problems.
