SWRevealTableViewCell icon indicating copy to clipboard operation
SWRevealTableViewCell copied to clipboard

Cannot tap buttons before cell has completed its slide animation

Open marklarr opened this issue 10 years ago • 5 comments

Is this intentional (how iOS8 works), or a bug?

marklarr avatar Sep 09 '14 19:09 marklarr

Confirmed that iOS8 mail app lets you tap the buttons before the cell is fully animated.

marklarr avatar Sep 10 '14 19:09 marklarr

The SWRevealTableViewCell also allows you to tap on buttons while sliding. Not in your code?

John-Lluch avatar Sep 15 '14 20:09 John-Lluch

The handler is definitely not being fired in my code, nor in the example code in this repo. It only fires once the sliding animation finishes.

marklarr avatar Sep 17 '14 04:09 marklarr

Hi marklarr,

I do not quite understand this request. I tried to tap on a button while sliding the cell with another finger and the button worked, so it already accepts touches while sliding.

However, you mentioned "slide animation". The animation only takes 0.2 seconds or so to complete. It is really hard to tap on a button while this is happening (at least for me) so not sure why you would want to do so. Also Apple disables user interaction by default on views that are animating, so I guess this is how they think it should be. Please, can you clarify what is the actual issue?

Thanks.

John-Lluch avatar Sep 17 '14 07:09 John-Lluch

The issue is like you described -- buttons cannot be tapped while the cell is animating. Not to be confused with while you are dragging it with a finger.

It's a good point that Apple disables user interaction by default on these views, but the iOS Mail application allows you to click on a cell's buttons while it is animating.

I understand that it's hard for you personally to recreate this issue, but,

  1. Apple's Mail app behaves like this, so if we want this component to give an iOS experience, it should too.
  2. It was apparently big enough of an issue for one of our designers at Venmo to notice and bring to my attention.

Thanks for your time

marklarr avatar Oct 02 '14 08:10 marklarr