-
Notifications
You must be signed in to change notification settings - Fork 780
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
Most of transitions do not respect non translucent navigation bar leading to glitches and wrong frames. #305
Comments
@mikhailmulyar thanks for reporting this issue, how do you use these animators? We recommend you use them in Apple's way like #242 when you use them in code. |
I use them in code, but this issues happens in all cases.This issue is reproduces in your Example project, if you go to playground part, to Transitions.storyboard and set navigation bar to non translucent. |
@mikhailmulyar thanks for your reply, we are busy on |
@mikhailmulyar I have a look at |
I have checked all transitions, more than half of them are easy to fix, like all system. But other will require some time to fix, like Flip and Fold |
@mikhailmulyar thanks for looking at this issue, if you would like to help me out with this, don't need to fix them in one PR. You can PR them bit by bit. We are about to merge |
Added PR #309 for Card, Fade, NatGeo, Slide and all System animations |
I catch up the discussion you started in #309. I search a bit about why the transitions are broken. I have no explanation, but the transitions are working as expected on the iPhone 6 simulator but broken on the iPhone 7. Any idea what's difference could be have between both? Also, it's definitely the |
Should we really close this? There's still a few bugs related 🙃 |
@tbaranes I don't think we should close this issue. I closed it when I merged the PR. |
When using some transition animations with
push
, if the Navigation bar set totranslucent=false
. The following transitions are not working properly:There are no problems for
present
transition or if Navigation bar set totranslucent=true
.----- Original message ------
Hi. When navigation controller uses opaque navigation bar, translucent=false most of the transitions end up with the wrong frame for destination view, not respecting navigation bar height and UIViewControllerContextTransitioning finalFrameForViewController method.
In most cases like in Fade animation, final frame for view just wrong.
In several cases like in Flip animation it leads to UI jumps and glitches.
In rare cases like Turn left and right animation(not top and bottom, those also have glitches) it works as expected.
The text was updated successfully, but these errors were encountered: