Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49167

Click gets carried on to next view (causing doubling of clicks)

$
0
0

@altelante wrote:

Hi,
I'm having a weird issue on buttons:

1) state #1 has a button to navigate to state #2 (via ui-sref or ng-click).
2) the user clicks the button.
3) the new page get loaded
4) I have an input on the new page exactly in the location of the button in the previous page
5) this input gets focused as if I clicked it (even though the click happened in the previous state and already finished)

Anyone ever had this?

By the way, This also happens to me when a click should hide some part of the page (close an accordion or something) and then the scroll position changes to accommodate the new content length and due to this new scroll position, there is an element in the exact position that the click occurred, it will get clicked.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49167

Trending Articles



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