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

Sometimes disappears offscreen #64

Closed
themobilegurus opened this issue Jul 15, 2015 · 5 comments
Closed

Sometimes disappears offscreen #64

themobilegurus opened this issue Jul 15, 2015 · 5 comments

Comments

@themobilegurus
Copy link

Occasionally disappears offscreen when presented (if you look closely, you see the component being animated upwards and disappear). This blocks the rest of the app and requires a restart.

It can be fixed by changing the modalPresentationStyle to UIModalPresentationOverFullScreen (iOS 8)

Steps we did to reproduce this;

  • iOS 8 (seems to be fixed on iOS 9)
  • Present a UIViewController as modal (via IB Segue)
  • Present the RMDateSelectionViewController from the presented UIViewController
  • Press select/cancel on the RMDateSelectionViewController to dismiss it
  • Dismiss the presented UIViewController
  • Present the same UIViewController as modal again (via IB Segue)
  • Present the RMDateSelectionViewController from the presented UIViewController
    -> Bug will occur, app will be 'blocked'.
@CooperRS
Copy link
Owner

Hmm, if iOS 9 fixes the issue it most likely it an iOS bug. I'll give your steps a try and give some feedback asap :)

@CooperRS
Copy link
Owner

Unfortunately, I cannot reproduce the bug :/
I modified the demo project such that I can modally present a view controller. I then ran that project in iOS Simulator 8.4 and 8.1 but I was not able to reproduce the bug.

I made a screencast of that test session but GitHub won't allow me to upload a .mov file. You can download it here: http://cooperrs.de/Test.mov

Did I do the right steps to reproduce the bug?

@themobilegurus
Copy link
Author

Thanks for trying to reproduce it, those seem like the right steps..
I'll try to strip our code, reproduce the problem and send you the project.

@CooperRS
Copy link
Owner

CooperRS commented Aug 3, 2015

Are there any news on the sample project?

@themobilegurus
Copy link
Author

We've been really busy. So far we haven't been able to reproduce the bug in a clean project, so there might be different circumstances in which the bug occurs. Since the fix is simple, we're going to let it rest for now. Thanks for your trouble so far!

@CooperRS CooperRS closed this as completed Aug 3, 2015
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