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

isVisible returns always true when application enters background while a popup is presented #114

Closed
adamkovica opened this issue Apr 28, 2017 · 6 comments

Comments

@adamkovica
Copy link

When user enters background while a tooltip is presented and then comes back, tooltip is not presented anymore, but isVisible returns true

@andreamazz
Copy link
Owner

Hey @adamkovica
Good catch, this should be fixed in the latest commit.

@adamkovica
Copy link
Author

Hey @andreamazz thanks a lot for prompt reply!

I have checked out the latest version, but unfortunately there is still same issue. Attaching the console output after coming back from background state.

screen shot 2017-05-02 at 3 31 41 pm

@andreamazz andreamazz reopened this May 3, 2017
@andreamazz
Copy link
Owner

Hey @adamkovica, can you post the steps to reproduce the issue?

@adamkovica
Copy link
Author

adamkovica commented May 3, 2017

Sure:

  1. AMPopTip is @Property on UITableViewCell
  2. Present AMPopTip by calling showText:direction:maxWidth:inView:fromFrame:duration: on the property while app is in foreground
  3. While AMPopTip is till presented and animation did not finish, put app to background by pressing a home button
  4. Open the app again. AMPopTip is not visible, but when you check isVisible on the @Property it returns true

@andreamazz
Copy link
Owner

Hey @adamkovica
I tried to reproduce the issue, but with no luck, the poptip is there once I return from the background.

Can you by any chance test on your setup the latest version? (2.0.1)

@andreamazz
Copy link
Owner

Hi @adamkovica
Sorry for the delay. I was able to fix the issue in the latest version. The API changed a bit, but upgrading shouldn't be too time consuming. I'm having issues replicating the fix with Objective-C for some reason.

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