-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
V2 Beta11: White flicker in navbar #8060
Comments
Have a look at the last two posts (by me) here for hopefully some additional info; |
Hello! Thanks for opening an issue with us! This is actually correct behavior as their is a fade animation on the navbar. Thanks for using Ionic! |
hi @jgw96! I don't think you should close this issue. I don't feel this is native behavior of the nav bar. If you see when the transition starts the next page is completely white, so there is a white flicker. I had to implemented the work around suggested by @danielcrk-cn . Take a look to the gif when the page is pushed the flicker shows up |
Hi Justin, I'm sorry if I'm mistaken, but I highly doubt that this is intended behavior, as it hasn't looked like that ever. There should of course be a fade effect, but between the title and icons, not a fade out to white in the middle of animation. |
Also, subjectively, that white flash looks kind of horrible >_< |
Hello all! We have overhauled alot of the navigation internals in beta.12 and that should solve this issue 😄 I will close this issue when I have confirmed. Thanks for using Ionic! |
@jgw96 this excites me hugely 😁 - navigation is a bit of a pickle in my opinion at the moment and I know I have raised a few issues in the past so I look forward to the beta.12 release. Can you share any details on release date? No matter how big or small? 😛 |
@kelvindart We are definitely getting closer now but the release date is still just ASAP 😄 |
Awesome news! Either way I look forward to the next release 😀 |
We all do haha 😄 its gonna be awesome |
Still seeing this in rc.0 unfortunately, added to RC.1 milestone |
This is happening with these two background fades in the iOS transition. I'm guessing we added these to make it easier to transition between navbars that had very different background colors, but I'm not sure what the general use case for these lines is: entering: https://github.com/driftyco/ionic/blob/master/src/transitions/transition-ios.ts#L95 leaving: https://github.com/driftyco/ionic/blob/master/src/transitions/transition-ios.ts#L176 However, I don't think the solution is to comment these out because that creates subtly different behavior than what we want. Need to think a bit more about this... |
Okay yea the fade here seems almost entirely to support cases where the navbars differ in color, but when they are the same custom color this fails. Looking into a solution. |
I think we need to set the entering and leaving background to the color of the leaving and entering navbar's before doing the animation. That way the fade happens not from "white" but from the old navbar color. |
@mlynch so we should animate the background-color instead of the opacity?
|
From my understanding animating |
This has been fixed! |
Short description of the problem:
If the background color of the navbar is ovewritten there is a
What behavior are you expecting?
Steps to reproduce:
$toolbar-background
File: app.variable.scss
File: home.ts
File: home.html
Which Ionic Version? 2.beta.11
Other information: Only happens in iOS. It can be reproduced from the browser
Run
ionic info
from terminal/cmd prompt:The text was updated successfully, but these errors were encountered: