Swipeable-Cards
Swipeable-Cards copied to clipboard
On some cases, it's possible to drag items behind the top one
Not sure how this occurred, other than playing around with the sample: I can't drag the card on the top of the stack. Instead, it drags an item inside it. After removing it, I could remove a few more, and then I can't drag any of them (even though I can see more).
Here's a screenshot of what I was able to do:
Yea. I'm able to reproduce, it was a known bug, my PR wasn't ready for prime-time yet.
I guess having my bug in master is a good motivator though. I'll see what I can do tonight.
Sorry, i wasn't aware of it.
@Dr-Emann Any update on this?
I probably won't be making any changes until Android L is released (CardView and RecyclerView are perfect fits). @kikoso can tell you if he has any plans until then.
Hello @MichaelEvans,
As @Dr-Emann mentioned, the future CardView might suppose a change in the structure of this library. I might be releasing some bug fixes and increased functionality until L is released (and of course any pull request is welcome), but I don't think a major update at this moment makes a lot of sense.
Cheers
So do you guys have any idea to avoid this issue?
Any updates on this issue? Or can anyone suggest any workaround to avoid this? When two cards are swiped immediately, I see this happen.
Happen here too.. when you swipe quickly, sometimes, the first on freeze.
I think I've solved it by writing mTopCard=null;
in CardContainer between
removeViewInLayout(topCard);
and
ensureFull();
@devdivdov I was able to replicate this bug even when setting mTopCard = null.
Android L is already released. It's something new about this issue?
i have this problem too. if i do card swipe quickly...this occur some times.. i guess need check code that (top card is right thing) when card swipe and remove.