bug: TypeError: null is not an object in logs
Type: bug
Platform: ios 8 webview
Seeing this error regularly. [Error] TypeError: null is not an object (evaluating 'content.offsetX') (anonymous function) (ionic-angular.js, line 10530) (anonymous function) (ionic.js, line 208)
Doesn't appear to have any noticeable side-effect. Replacing context.offsetX with this.offsetX gets rid of the TypeError
Can you provide a codepen demo of this?
It might take me a little while to get to this, but I can tell you it involves tabs with a sidemenu in one of the views. It might be exclusive to the WKWebView in iOS which has proven to be buggy enough for me to abandon (along with indexedDB). I will try and create a little repro case. I doubt it will show itself in browser.
I'm seeing this too, happens when I click a link in the left drawer navigation
Are you using the ion-drawer component?
and
ion-side-menus
On Mon, Mar 23, 2015 at 4:47 PM, Mike Hartington [email protected] wrote:
Are you using the ion-drawer component?
— Reply to this email directly or view it on GitHub https://github.com/driftyco/ionic/issues/3206#issuecomment-85188342.
I get this error in xcode
2015-03-23 17:28:07.094 ionicMenu[9246:60b] CDVPlugin class IonicKeyboard (pluginName: Keyboard) does not exist. 2015-03-23 17:28:07.096 ionicMenu[9246:60b] ERROR: Plugin 'Keyboard' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2015-03-23 17:28:07.097 ionicMenu[9246:60b] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [ "INVALID", "Keyboard", "disableScroll", [ true ] ] 2015-03-23 17:28:24.084 ionicMenu[9246:60b] CDVPlugin class IonicKeyboard (pluginName: Keyboard) does not exist. 2015-03-23 17:28:24.086 ionicMenu[9246:60b] ERROR: Plugin 'Keyboard' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2015-03-23 17:28:24.088 ionicMenu[9246:60b] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [ "INVALID", "Keyboard", "close", [
] ]
Derek
http://newculture.pl/dollar_paypal
24.03.2015, 00:29, "Derek Hannah" [email protected]:I get this error in xcode
2015-03-23 17:28:07.094 ionicMenu[9246:60b] CDVPlugin class IonicKeyboard (pluginName: Keyboard) does not exist. 2015-03-23 17:28:07.096 ionicMenu[9246:60b] ERROR: Plugin 'Keyboard' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2015-03-23 17:28:07.097 ionicMenu[9246:60b] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [ "INVALID", "Keyboard", "disableScroll", [ true ] ] 2015-03-23 17:28:24.084 ionicMenu[9246:60b] CDVPlugin class IonicKeyboard (pluginName: Keyboard) does not exist. 2015-03-23 17:28:24.086 ionicMenu[9246:60b] ERROR: Plugin 'Keyboard' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2015-03-23 17:28:24.088 ionicMenu[9246:60b] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [ "INVALID", "Keyboard", "close", [
] ]
—Reply to this email directly or .
Mike
http://www.baltdivision.ru/analitik
23.03.2015, 23:47, "Mike Hartington" [email protected]:Are you using the ion-drawer component?
—Reply to this email directly or .
Any other replys on this? Still have no solution
-Derek
On Mar 23, 2015, at 4:47 PM, Mike Hartington [email protected] wrote:
Are you using the ion-drawer component?
— Reply to this email directly or view it on GitHub.
gdjennings
http://thefitfactory.net/speshiti
16.03.2015, 10:22, "gdjennings" [email protected]:It might take me a little while to get to this, but I can tell you it involves tabs with a sidemenu in one of the views. It might be exclusive to the WKWebView in iOS which has proven to be buggy enough for me to abandon (along with indexedDB). I will try and create a little repro case. I doubt it will show itself in browser.
—Reply to this email directly or .
Okay, so this seems to be an issue where the keyboard plugin wasn't linked over to the iOS project. Let's try this.
$ ionic platform rm ios
# Check to see if the keyboard plugin is added to the project
$ ionic plugin ls
# If not add it
$ ionic plugin add com.ionic.keyboard
# Add the ios platform back
$ ionic platform add ios
Greetings @gdjennings!
My sensors indicate a reply was requested, but we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.
@mhartington you saved my life today.
I think it may be the config.xml issue. Check your config.xml file about the following configuration Try to change feature name="Keyboard" param name="ios-package" onload="true" value="CDVKeyboard" to feature name="Keyboard" param name="ios-package" onload="true" value="IonicKeyboard"
@pitthehan thanks, that fixed my problem.