Tuesday, 28 May 2019

How to make ScrollView consume touch event even when it's scrolled to the end?

I have an FSPagerView, which has an item that contains scrollable barchart (scrollview having multiple stackviews). When I scroll barchart, if there is a scrollable space, then touch event is consumed by the barchart and it scrolls. If there is no scrollable space on a side and I keep scrolling to that side touching barchart, it does not consume touch event anymore and instead the whole FSPagerView scrolls. How can I make scrollview consume touch event even in such case? In short, I don't want to scroll FSPagerView when touching barchart.

Here is a video: https://streamable.com/kuxta



from How to make ScrollView consume touch event even when it's scrolled to the end?

No comments:

Post a Comment