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

Popover doesn't open after some 10-30 clicks. #28

Open
Aravindhanarvi opened this issue Jul 23, 2015 · 1 comment
Open

Popover doesn't open after some 10-30 clicks. #28

Aravindhanarvi opened this issue Jul 23, 2015 · 1 comment

Comments

@Aravindhanarvi
Copy link

If the user presses the Toggle Popover Button (As in Sample Project) fastly. It stops opening at some point, may be around 10-30 clicks.

@ehardebeck
Copy link

ehardebeck commented Oct 3, 2018

The _popoverWindow gets into a state where isVisible is YES, but alphaValue is 0
Because popoverIsVisible is true in togglePopover, it will always attempt to close it, never opening it and setting alpha back to 1.0

This seems to be happening because of a race condition where the animation delegate is set to nil before the animation started in INPopoverWindow.dismissAnimated is finished. So INPopoverController animationDidStop is never called.

Pull request for fix: #33

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

2 participants