SWRevealTableViewCell
SWRevealTableViewCell copied to clipboard
Cannot tap buttons before cell has completed its slide animation
Is this intentional (how iOS8 works), or a bug?
Confirmed that iOS8 mail app lets you tap the buttons before the cell is fully animated.
The SWRevealTableViewCell also allows you to tap on buttons while sliding. Not in your code?
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.
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.
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,
- Apple's Mail app behaves like this, so if we want this component to give an iOS experience, it should too.
- 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