# Hiding app bar mobile when scrolling

**URL:** <https://forum.inductiveautomation.com/t/hiding-app-bar-mobile-when-scrolling/73935>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 19, 2023, 8:27am UTC](https://forum.inductiveautomation.com/t/hiding-app-bar-mobile-when-scrolling/73935 "2023-05-19T08:27:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Corne\_de\_Jonge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/corne_de_jonge/32/46823_2.png) [@Corne\_de\_Jonge](https://forum.inductiveautomation.com/u/Corne_de_Jonge)\
**Post date:** [May 19, 2023, 8:27am UTC](https://forum.inductiveautomation.com/t/hiding-app-bar-mobile-when-scrolling/73935/1 "2023-05-19T08:27:54Z")

</div>

Hello everyone,

I'm currently working on implementing a feature for a mobile application where the top and bottom dock should hide when scrolling. I have achieved the hiding functionality for the docks.

However, I'm currently facing a challenge in creating a trigger moment to hide the docks when scrolling within the app. While there is a mouse wheel scroll event available, it does not apply to touch-based scrolling. I was wondering if anyone knows of an event or a method to capture this scrolling movement using touch.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![qpadgham](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/qpadgham/32/38437_2.png) [@qpadgham](https://forum.inductiveautomation.com/u/qpadgham)\
**Post date:** [May 30, 2023, 10:48pm UTC](https://forum.inductiveautomation.com/t/hiding-app-bar-mobile-when-scrolling/73935/2 "2023-05-30T22:48:55Z")

</div>

Howdy,

I think you'll want to use the [onTouchMove](https://docs.inductiveautomation.com/display/DOC81/Perspective+Event+Types+Reference#:~:text=of%20the%20screen.-,onTouchMove,-Fired%20when%20a) event to detect when a touch point has moved along the surface to trigger your script to hide the docks.
