Skip to content

Ionic V4 - Flashing back-button on iOS with short lists #17022

Closed

Description

@petrot

Bug Report

Ionic version:

[x] 4.x

Current behavior:

The toolbar icon is flashing once after navigating with back-button.
video: https://youtu.be/I25h7LRzmcg

Expected behavior:
No flashing :)

Steps to reproduce:

  • Open the App on iOS or with devApp (on iOS; there is no problem in the browser!)
  • Click to the list menu
  • Click to "Long page", then click "back". It's OK
  • Click to "Short page", this page contains only 2 ion-items, so the height less then 100% (I think this is the problem). Click "back". The menu will flash once every time when you go back.

Sample code on github: https://github.com/petrot/ionic-v4-flashing-menu-bug

Related code:

Ionic info:


Ionic:

   ionic (Ionic CLI)             : 4.7.1 (/Users/tomi/.nvm/versions/node/v10.14.1/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-rc.1
   @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-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/tomi/Library/Android/sdk)
   ios-deploy        : 1.9.4
   NodeJS            : v10.14.1 (/Users/tomi/.nvm/versions/node/v10.14.1/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Activity

  1. ronanjia commented on Jan 14, 2019

    @ronanjia

    same _issue :(

  2. Frotty commented on Jan 16, 2019

    @Frotty

    Dito. If using a custom back button instead if ion-back-button the whole toolbar of the old screen stays for me when navigating back.

  3. mora260 commented on Jan 24, 2019

    @mora260

    I have the same problem, is a minor issue, but really annoying. Maybe something with the routing system replacement?

  4. dromedaryCase commented on Jan 27, 2019

    @dromedaryCase

    I have been seeing this flickering since beta through RC releases until now.

    This problem applies only to the ios mode but can be reproduced in browser and in native (Capacitor) builds. The animation glitch has nothing to do with lists of any kind.

    To verify this I started a blank project with this info and added just one page to push to.

    Ionic:
    
       ionic (Ionic CLI)             : 4.9.0 (/usr/local/lib/node_modules/ionic)
       Ionic Framework               : @ionic/angular 4.0.0
       @angular-devkit/build-angular : 0.12.3
       @angular-devkit/schematics    : 7.2.3
       @angular/cli                  : 7.2.3
       @ionic/angular-toolkit        : 1.2.3
    
    System:
    
       NodeJS : v10.14.2 (/usr/local/bin/node)
       npm    : 6.7.0
       OS     : macOS Mojave
    

    The glitch can be best observed when the "pushing" page has no ion-toolbar albeit an existing toolbar is not preventing it.

    flicker

  5. gigocabrera commented on Jan 29, 2019

    @gigocabrera

    I'm also having the exact same issue and I created a repo that reproducces this behaviour in Safari and iOS:

    https://github.com/gigocabrera/ionic4-toolbar-issue

  6. proartti commented on Feb 14, 2019

    @proartti

    We are having this problem as well. It seems to only affect iOS and the previews page’s header blinks over even if the current page doesn’t have the header/toolbar.

  7. petrot commented on Feb 15, 2019

    @petrot
    Author

    @proartti I have header/toolbar on each pages.. :/

  8. jaswantjatav commented on Feb 15, 2019

    @jaswantjatav

    Me too facing same issue , please help to fix it.
    I am switching page from tab page to details page but when come back to tabs page by click back toolbar flashing once after navigating with back-button.

    Thanks in advance.

  9. bolivir commented on Feb 21, 2019

    @bolivir

    Same issue here, when navigating back from a page the toolbar flashes.

  10. lehtaku commented on Feb 24, 2019

    @lehtaku

    Same issue here. Toolbar flashes when navigating to previous page even if it don't have toolbar in it. Have anyone find solution to this yet?

  11. brandyscarney commented on Mar 4, 2019

    @brandyscarney
    Member

    Closing as a duplicate of #16988 please track this issue there, thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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