# WhileScrolling Trigger

**URL:** <https://forums.fusetools.com/t/whilescrolling-trigger/1905>\
**Category:** Feature Suggestions\
**Created:** [June 26, 2017, 7:31am UTC](https://forums.fusetools.com/t/whilescrolling-trigger/1905 "2017-06-26T07:31:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igor\_Lins\_e\_Silva](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/igor_lins_e_silva/32/415_2.png) [@Igor\_Lins\_e\_Silva](https://forums.fusetools.com/u/Igor_Lins_e_Silva)\
**Post date:** [June 26, 2017, 7:31am UTC](https://forums.fusetools.com/t/whilescrolling-trigger/1905/1 "2017-06-26T07:31:13Z")

</div>

Fuse currently lacks a Trigger to be active while a ScrollView is being scrolled, the attached Uno class does the job. it was adapted from a year old forum post to work with the current version 1.0.1 - as I’m not an expert in the language it would be nice to have someone look if everything is correct. I’ve already tested a lot.

If there is no room for improvement, its OK to do a PR to the fuselibs?  
My main doubt was how to write automated test for it…

- [Attached UNO file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/fP8xD8d1b2lz-image-1498461901109.uno)

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [June 26, 2017, 8:47am UTC](https://forums.fusetools.com/t/whilescrolling-trigger/1905/2 "2017-06-26T08:47:00Z")

</div>

Hi Igor,

top job right there! A pull request against [fuselibs-public](https://github.com/fusetools/fuselibs-public) would be very welcome. Keep in mind that we also have a [WhileInteracting](https://www.fusetools.com/docs/fuse/triggers/whileinteracting) trigger, which is semantically and functionally slightly different from what you did, but a good reference point anyway.

As for tests, the ones already written for other `ScrollView` things might be a good starting point: [https://github.com/fusetools/fuselibs-public/tree/master/Source/Fuse.Controls.ScrollView/Tests](https://github.com/fusetools/fuselibs-public/tree/master/Source/Fuse.Controls.ScrollView/Tests)
