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

How to prevent ion-segment changes on touch + move

$
0
0

@seantomas wrote:

I am using a list of ion-segment components as a set of controls for my site. This user scrolls this list as not all are visible on the screen at one time.

The problem is that when using touch, the selected ion-segment-button changes even if the touch event ends without the finger over the button. (i.e. touch+move intending to scroll the list, not select a button).

Is there away to make the selected ion-segment-button only change on a touch that does not include a move (or only change if it was an incidental move that wouldn’t take it out of the bounds of the original button location/bounds)?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



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