Swipeable-Cards icon indicating copy to clipboard operation
Swipeable-Cards copied to clipboard

On some cases, it's possible to drag items behind the top one

Open AndroidDeveloperLB opened this issue 10 years ago • 12 comments

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:

device-2014-06-04-225734

AndroidDeveloperLB avatar Jun 04 '14 19:06 AndroidDeveloperLB

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.

Dr-Emann avatar Jun 04 '14 21:06 Dr-Emann

Sorry, i wasn't aware of it.

AndroidDeveloperLB avatar Jun 04 '14 22:06 AndroidDeveloperLB

@Dr-Emann Any update on this?

MichaelEvans avatar Aug 11 '14 18:08 MichaelEvans

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.

Dr-Emann avatar Aug 12 '14 16:08 Dr-Emann

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

kikoso avatar Aug 13 '14 07:08 kikoso

So do you guys have any idea to avoid this issue?

shumin0809 avatar Sep 24 '14 01:09 shumin0809

Any updates on this issue? Or can anyone suggest any workaround to avoid this? When two cards are swiped immediately, I see this happen.

seshuvinay avatar Dec 16 '14 12:12 seshuvinay

Happen here too.. when you swipe quickly, sometimes, the first on freeze.

TiagoGouvea avatar Feb 21 '15 13:02 TiagoGouvea

I think I've solved it by writing mTopCard=null; in CardContainer between removeViewInLayout(topCard); and ensureFull();

devdivdov avatar Mar 14 '15 17:03 devdivdov

@devdivdov I was able to replicate this bug even when setting mTopCard = null.

RyPope avatar Mar 23 '15 23:03 RyPope

Android L is already released. It's something new about this issue?

NeoRaidenX avatar May 18 '15 17:05 NeoRaidenX

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.

chunjobs avatar Jun 01 '15 10:06 chunjobs