Ionic Native Back Button Error


#1

When the user hits the back button, the console logs the following error:

Error: Uncaught (in promise): TypeError: null is not an object (evaluating 'enteringNavbarEle.querySelector')

Has anybody encountered this issue and fixed it? My current workaround is to use navCtrl.push(PreviousPage);

Ionic Info:

cli packages: (/Users/josterfeld/.nvm/versions/node/v6.11.1/lib/node_modules)

    @ionic/cli-utils  : 1.18.0
    ionic (Ionic CLI) : 3.18.0

global packages:

    cordova (Cordova CLI) : 7.1.0 
    Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.3.0 ios 4.5.3
    Ionic Framework    : ionic-angular 3.7.1

System:

    Android SDK Tools : 25.2.5
    ios-deploy        : 1.9.1 
    ios-sim           : 6.1.2 
    Node              : v6.11.1
    npm               : 2.15.12 
    OS                : macOS Sierra
    Xcode             : Xcode 8.3.3 Build version 8E3004b 

Environment Variables:

    ANDROID_HOME : /Users/josterfeld/Library/Android/sdk

Misc:

    backend : legacy