# ionScroll not triggering on android device

**URL:** <https://forum.ionicframework.com/t/ionscroll-not-triggering-on-android-device/209269>\
**Category:** Ionic Vue\
**Created:** [May 9, 2021, 1:43pm UTC](https://forum.ionicframework.com/t/ionscroll-not-triggering-on-android-device/209269 "2021-05-09T13:43:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![usanzadunje](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/usanzadunje/32/136754_2.png) [@usanzadunje](https://forum.ionicframework.com/u/usanzadunje)\
**Post date:** [May 9, 2021, 1:43pm UTC](https://forum.ionicframework.com/t/ionscroll-not-triggering-on-android-device/209269/1 "2021-05-09T13:43:07Z")

</div>

Hello guys,

I have the following code :

```auto
<ion-content ref="content" :scroll-events="true" @ionScroll="doSmth" class="ion-padding">
      some long text...
</ion-content>

```

Event handler doSmth has alert(‘test’) in it.

This works well when i test in my browser on desktop but when i try on my android phone it doesnt trigger @ionScroll event.  
Any reason why it doesnt trigger?

---

<div class="post-metadata">

**Author:** ![nvispute](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nvispute/32/137378_2.png) [@nvispute](https://forum.ionicframework.com/u/nvispute)\
**Post date:** [May 9, 2021, 2:05pm UTC](https://forum.ionicframework.com/t/ionscroll-not-triggering-on-android-device/209269/2 "2021-05-09T14:05:50Z")

</div>

Did you use alert() or alertController from Ionic…  
because if you are using the default alert() from JS it won’t work…

You need to use the alertController provided by Ionic for it to work cross-platform

Here is the link for the same [LINK](https://ionicframework.com/docs/api/alert)

And Since you are using alerts here you might also want to look up [Ion-Loading](https://ionicframework.com/docs/api/loading)

Both of them have same way of usage… with a few minor tweaks

---

<div class="post-metadata">

**Author:** ![usanzadunje](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/usanzadunje/32/136754_2.png) [@usanzadunje](https://forum.ionicframework.com/u/usanzadunje)\
**Post date:** [May 9, 2021, 2:14pm UTC](https://forum.ionicframework.com/t/ionscroll-not-triggering-on-android-device/209269/3 "2021-05-09T14:14:29Z")

</div>

Actually classic alert(something) work.

I also tried with alerController but still nothing.

Problem is event is not fired, whatever i put in event handler doesnt execute when scrolling, only possible thing is that event isnt fired in the first place.

---

<div class="post-metadata">

**Author:** ![usanzadunje](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/usanzadunje/32/136754_2.png) [@usanzadunje](https://forum.ionicframework.com/u/usanzadunje)\
**Post date:** [May 18, 2021, 11:49am UTC](https://forum.ionicframework.com/t/ionscroll-not-triggering-on-android-device/209269/4 "2021-05-18T11:49:28Z")

</div>

Anybody has any idea?

---

<div class="post-metadata">

**Author:** ![nvispute](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nvispute/32/137378_2.png) [@nvispute](https://forum.ionicframework.com/u/nvispute)\
**Post date:** [May 21, 2021, 10:32pm UTC](https://forum.ionicframework.com/t/ionscroll-not-triggering-on-android-device/209269/5 "2021-05-21T22:32:37Z")

</div>

Hi, @usanzadunje did you find the solution… I was busy last week and could not revert back if you haven’t figured out the issue can you share your code
