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

Opening sliding items without scrolling list

$
0
0

@ckouns wrote:

Hello peeps,

My team and I are working on an application built with Ionic 2 and Angular 2. We have a long list composed entirely of sliding items, in which you can swipe an item left to reveal buttons underneath (seen at http://ionicframework.com/docs/v2/api/components/item/ItemSliding/).

However, when attempting to slide an item open, the list jiggles a bit due to the fact that it's difficult for many users to slide their finger perfectly left without a little bit of leeway up or down. This results in the list moving a little as if you were attempting to scroll.

I was hoping to capture some kind of onSlidingItemOpen event of some sort, to detect when a sliding item was first being opened and thusly somehow disable the scroll of the list and re-enabling the scroll once the item was fully open, but I haven't been able to find any method or event like that. I've also tried multiple types of swipe detection and the seemingly promising onDragStart and onDragEnd gestures, but have also been unable to produce the results I want.

Does anyone have any insight, ideas, or suggestions? Your time is greatly appreciated, and thank you in advance.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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