CardStackView icon indicating copy to clipboard operation
CardStackView copied to clipboard

Feature: allow swipe in specific directions only

Open andybdahl opened this issue 5 years ago • 1 comments

Right now, if i use CardStackLayoutManager.setDirections(Directions.Right) and CardStackLayoutManager.setCanScrollVertical(false), the user can swipe only to one side, but the other side will still drag and animate back when the user releases the finger.

I want to be able to set CardStackLayoutManager.setCanScrollLeft(false), CardStackLayoutManager.setCanScrollRight(false), CardStackLayoutManager.setCanScrollUp(false), CardStackLayoutManager.setCanScrollDown(false). So the user can drag only to one side for example.

Would be a nice feature.

andybdahl avatar Jun 12 '19 07:06 andybdahl

@andreasmakeable Thank you for your proposal. I think this is a nice feature but I have no time to implement right now... So your contribution is always welcome!

yuyakaido avatar Jun 12 '19 16:06 yuyakaido