Skip to content

Ion-header flickering #16988

Closed
Closed

Description

@lucaslevin

Bug Report

Ionic version:

[x] 4.x (rc.0)

Current behavior:

Ion-header is very unstable in rc.0, which wasn't present in prior releases. Using the router, going back and forth makes the header stutter, removes ion-title sometimes. Is present on DevApp and iOS Simulator.

Expected behavior:

To be more stable and not stutter or loose ion-title. Works fine on browser.

Steps to reproduce:

Going into Settings -> Terms. And pressing back button. Go back and forth.

Related code:

https://github.com/lucaslevin/trainer

Other information:

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.6.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-rc.0
   @angular-devkit/build-angular : 0.11.4
   @angular-devkit/schematics    : 7.1.4
   @angular/cli                  : 7.1.4
   @ionic/angular-toolkit        : 1.2.2

Cordova:

   cordova (Cordova CLI) : 8.1.2 ([email protected])
   Cordova Platforms     : ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic 5.2.9, cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 7 other plugins)

System:

   ios-deploy : 1.9.2
   NodeJS     : v10.12.0 (/usr/local/bin/node)
   npm        : 6.5.0
   OS         : macOS Mojave
   Xcode      : Xcode 10.1 Build version 10B6

Activity

  1. added
    package: core
    type: bug
    on Jan 7, 2019
  2. changed the title [-]Ion-header stuttering[/-] [+]Ion-header flickering[/+] on Jan 7, 2019
  3. roopeshchinnakampalli commented on Jan 8, 2019

    @roopeshchinnakampalli

    Yes.. We too observed in the apps which we've updated to v4 rc.0

    Thanks
    Roopesh

  4. RHinderiks commented on Jan 18, 2019

    @RHinderiks

    Still happends in RC.2, Also the back button re-appears (along with the flickering) which is clickable and will break the app in some way or another

  5. trazek commented on Jan 20, 2019

    @trazek
    Contributor

    I haven't used a simulator but in the browser, I can recreate this for ios. Not able to recreate it for Android. @lucaslevin is this ios specific?

  6. roopeshchinnakampalli commented on Jan 20, 2019

    @roopeshchinnakampalli

    Hi trazek,

    It may not replicate in browser! It’s reproduciable in Simulator. I have tried in v4 rc.2 and it’s the same!

  7. llighter commented on Jan 21, 2019

    @llighter

    I have the same problem.

    Ionic info:

    Ionic:
    
       ionic (Ionic CLI)             : 4.8.0 (/usr/local/lib/node_modules/ionic)
       Ionic Framework               : @ionic/angular 4.0.0-rc.0
       @angular-devkit/build-angular : 0.12.2
       @angular-devkit/schematics    : 7.2.2
       @angular/cli                  : 7.2.2
       @ionic/angular-toolkit        : 1.2.2
    
    Cordova:
    
       cordova (Cordova CLI) : 8.1.2 ([email protected])
       Cordova Platforms     : android 7.1.4, ios 4.5.5
       Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 7 other plugins)
    
    System:
    
       Android SDK Tools : 26.1.1 (/Users/park-yunha/Library/Android/sdk)
       ios-deploy        : 1.9.2
       ios-sim           : 6.1.2
       NodeJS            : v10.4.0 (/usr/local/Cellar/node/10.2.1/bin/node)
       npm               : 6.5.0
       OS                : macOS Mojave
       Xcode             : Xcode 10.1 Build version 10B61
    

    iphone 6s:
    ionic-header-filckering

  8. trakhimenok commented on Jan 23, 2019

    @trakhimenok

    @manucorporat I see you are working on back button, just want to make sure this issue is noticed - this flickering is very annoying

  9. roopeshchinnakampalli commented on Jan 23, 2019

    @roopeshchinnakampalli

    I've tried in the final release of v4 and it's still the same! Our apps is in Prod and need this to be fixed ASAP!

  10. bartkooi commented on Jan 24, 2019

    @bartkooi

    Just updated to v4 final and this is fixed for us now

  11. roopeshchinnakampalli commented on Jan 24, 2019

    @roopeshchinnakampalli

    Just updated to v4 final and this is fixed for us now

    We are able replicate with v4 stable release both in real device and simulator. Anyone else tried in v4 stable release.

    Also I see this bug is still on deck!

    Glad it's working for you :)

  12. DavidWiesner commented on Jan 24, 2019

    @DavidWiesner
    Contributor

    Yes it is still a issue in the stable release. The issue is also reproducible in the safari browser.
    The root of the problem is that the animation remove the opacity property after transition but before the page gets removed from the dom. To fix this issue in the right way the leaving page should be removed before the opacity property was removed by a dom write.

    A quickfix is to not remove the opacity property after transition ends. Therefore the last argument in the fromTo-calls in ios.transition.ts#L170-L172 and ios.transition.ts#L182 could be set to false.

  13. mhartington commented on Jan 24, 2019

    @mhartington
    Contributor

    Hey folks! Yes this issue is on deck, and will be addressed in a future release.

  14. self-assigned this
    on Feb 7, 2019
  15. kevryan2 commented on Feb 10, 2019

    @kevryan2

    @mhartington i was going to post an issue regarding a flickering of all text elements on navigation when a new page is pushed into the stack. It has been a major bug on our end, and includes the elements in the header as this issue has logged, but I believe @liamdebeasi PR might fix that... just wanted to confirm you guys planned to merge this PR for an upcoming release?

  16. Nazirovich commented on Feb 22, 2019

    @Nazirovich

    @mhartington, thank you for your effort. I hope this will be fixed asap, we have apps is in production and we need this to be fixed before their releases.

  17. liamdebeasi commented on Feb 22, 2019

    @liamdebeasi
    Contributor

    Hi everyone,

    I just wanted to let you all know there has been a fix created for this, and it is currently in review (#17422). I am trying to get this out the door soon.

    Thanks for using Ionic!

  18. brandyscarney commented on Mar 4, 2019

    @brandyscarney
    Member

    Linking duplicate issues: #17022 and #17297

  19. Gilbert1391 commented on Mar 4, 2019

    @Gilbert1391

    Has this issue been fixed or is there any work around? I am currently experiencing this.

  20. liamdebeasi commented on Mar 4, 2019

    @liamdebeasi
    Contributor

    Hi everyone,

    This issue has been resolved by #17422. I just published a nightly build of Ionic with this fix (4.1.0-dev.201903041834.ad20bd6). It would be great if people could test and verify that the issue has been resolved for them. If there are no major issues found, this fix should be in the next release of Ionic. Thanks!

  21. trakhimenok commented on Mar 4, 2019

    @trakhimenok

    @liamdebeasi I've checked nightly build and the flickering gone. Thanks a lot! It was non blocking but very annoying bug.

  22. Gilbert1391 commented on Mar 6, 2019

    @Gilbert1391

    I know this may be off topic and I apologize in advance, but can anybody tell me how can I test the nightly build in my app?

  23. trakhimenok commented on Mar 6, 2019

    @trakhimenok

    @Gilbert1391 change in package.json value of dependencies > @ionic/angular to "4.1.0-dev.201903041834.ad20bd6" and run npm install

  24. papanada commented on Mar 18, 2019

    @papanada

    Thanks @astec, it totally works for me !!!

  25. ionitron-bot commented on Apr 17, 2019

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  26. locked and limited conversation to collaborators on Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

package: coretype: bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions