# IONIC 4 click event bug, I have to double click?

**URL:** <https://forum.ionicframework.com/t/ionic-4-click-event-bug-i-have-to-double-click/163178>\
**Category:** Ionic Framework\
**Created:** [May 6, 2019, 11:29am UTC](https://forum.ionicframework.com/t/ionic-4-click-event-bug-i-have-to-double-click/163178 "2019-05-06T11:29:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SanduCuragau](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sanducuragau/32/125297_2.png) [@SanduCuragau](https://forum.ionicframework.com/u/SanduCuragau)\
**Post date:** [May 6, 2019, 4:12pm UTC](https://forum.ionicframework.com/t/ionic-4-click-event-bug-i-have-to-double-click/163178/3 "2019-05-06T16:12:57Z")

</div>

Cheers  
Welp the code I posted isn’t exactly what my code really looks like since I’m a dev on a company’s project and ofc I can’t go around sharing code, but I can share screenshots to explain it to you and serve as future reference to anyone who has the same problem

Ok so I have this login page

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/a/d/ada32d6e66576992f5e65a3e349935ecbd6750af.png)

When I clicked on the username input this happened

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/1/f/1f4afadb00badc03fb131a78ddfc61d1cc94d57d.png)  
Yeah really awkward, and then the user either used the Enter button to skip to the password field, or if they didn’t think of that they had to LITERALLY scroll down to click on the password field

I couldnt fix the 2 clicks to trigger the click event, so I ended up thinking of something else, I noticed that after the first click the keyboard opens, so I just listened to that event instead of the click event, when the keyboard opens he scrolls to the bottom, having the same end result as I wanted, this

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/f/2/f2aa098cb3e81b4fdf147fbb0b90b9a4f688252e.png)

---

_[View the full topic](https://forum.ionicframework.com/t/ionic-4-click-event-bug-i-have-to-double-click/163178)._
