Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70445

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

$
0
0

@SanduCuragau wrote:

Cheers, I have an ion-item with an ion-input in it, what I want to do is when I click on the input field it scrolls down, so far everything works if I double click the input field, but why doesnt it trigger the event right away on the first click/tap ?

TS
image

Well I’ve tried click, ionClick, focus, tap, select, ionSelect, many things that don’t even exist, pretty much everything I saw people suggesting on old posts, but nothing fixed it

           <div>
              <ion-item>
                <ion-input type="text" (focus)='ScrollToBottom($event)'></ion-input>
              </ion-item>
            </div>

here are some old posts that refer to the same problem but no fix




I’m in ionic 4 there must be a way to fix this…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>