-
Notifications
You must be signed in to change notification settings - Fork 199
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
EasyAnimation breaks popover presentation animation #14
Comments
hey that's an interesting find - I'll try to reproduce it here and fix it, thanks! Is there any kind of error message or a warning in the output console? |
No console output that could assist unfortunately. I tested it on the 8.3 Simulator with EasyAnimation 0.7 and on the 9.0 Simulator and a 9.0 Device with EasyAnimation 1.0 and I'm able to reproduce it on every platform. |
Any update on this issue? Were you able to replicate it? |
I did exactly what you described but didn't get a crash. Could you please provide a test project? |
Interesting that after my issue being dismissed- the only issue that remains open is exactly a case of what I was talking about: |
We've had the same problem with popovers after adding Easy Animation, and have removed it for the time being. I'm attaching a .mov of what we saw with popovers. It seems like popovers initially appear as a slightly-too-large rounded rect, while its mask appears offset to the side a little bit. As the popover rect resizes to its correct size, the mask animates into position. |
I created a sample: https://github.com/JanGorman/EasyAnimationSample You'll see the popover acting all weird when you run the sample on an iPad (simulator). For the time being we've also removed the library because of this. I traced it down to the EasyAnimation before seeing this issue by adding a symbolic breakpoint to |
Thanks @JanGorman - looks like I'll have to look into this ... |
Still not fixed? |
You're welcome to send a PR |
I am getting an error in animation when I migrate my project to Swift 4.2 and iOS 12. However, my old code is running fine in iOS 12. I am using SwiftAnimation framework of version 2.0.2 My table view cells container view not adjusting its frame with respect to the parent view. Can anybody please help me with this. |
Can confirm this is still happening, iOS 12, iPad. |
Still happening, iOS 13 |
As a guide for people afterwards, I am facing this issue: icanzilb/EasyAnimation#14
Adding EasyAnimation to a project breaks the presentation animation for a UIPopoverController, whether being used explicitly with UIViewController and a UIPopoverController, or implicitly by setting the modalPresentationStyle for a UIViewController to UIModalPresentationStylePopover and setting a sourceView and sourceRect. The popover still animates into place but various elements of the popover are out of place until they finish animating, and the dimmed out background view jumps up into place.
I have been able to consistently replicate this with EasyAnimation 0.7 + 1.0 with the following steps:
The text was updated successfully, but these errors were encountered: