Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Already Swiped Cells show no buttons on return #6

Closed
evamedia opened this issue Oct 23, 2013 · 4 comments
Closed

Already Swiped Cells show no buttons on return #6

evamedia opened this issue Oct 23, 2013 · 4 comments

Comments

@evamedia
Copy link

screen shot 2013-10-23 at 20 10 01

To replicate issue,

  • swipe to open context menu on first cell, close it with no action
  • swipe to open context menu on second cell, close it with no action
  • swipe to open context menu on first cell, no buttons
@evamedia
Copy link
Author

I think this is being caused by didPerformContextMenuLayout not being set to NO after the context menu is closed.

A partial solution is to add

if (!self.contextMenuHidden) {
    self.didPerformContextMenuLayout = NO;
}

to the handlePan method in DAContextMenuCell when UIGestureRecognizerStateEnded is tested.

This works if you pan each cell manually, but still shows no buttons if the context menu is dismissed with a tap, trying to find out how to capture that event.

@evamedia
Copy link
Author

fixed in #7

@futuretap
Copy link

I can still reproduce this issue in the current HEAD version. I just swipe several cells shortly after each other. In many cases, if I swipe a cell that was previously swiped already, the buttons aren't shown but just the white background.

@fitch
Copy link

fitch commented May 29, 2014

This issue is still in the current HEAD version. It seems that as a workaround adding a

 self.didPerformContextMenuLayout = NO;

in handlePan: method before calling [self layoutContextMenuView] solves the problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants