-
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
Exception "TypeError: Cannot call method 'remove' of undefined" in ionic.bundle.js #1795
Comments
Hmm, can you try to reproduce this with a codepen or create a similar situation to what you have? |
The problem occurs only running on device Android Samsung Galaxy S3 Mini for this with nightly build as chrome there not are errors. Yesterday I tried running the basic ionic side menu app (that has some slide animations) on the device and there not was errors like these... So.. I will prepare a codepen shortly. Thanks |
Hey @manzapanza, any luck with that codepen? |
Hi Mike, sorry for my reply delayed. I was able to isolate the problem and I discovered that is caused by an ng-repeat of path elements of a svg: |
Hey @mhartington, do you have some news? Thanks! |
Hey, sorry about that. Will look into it now. Just to make sure, can you test with beta 11or the nightly builds to make sure this wasn't already fixed |
Thank you for your quick reply! I already upgraded to beta 11 but the problem persist |
Alright, so I was able to reproduce this. Going to assign @perrygovier to this. |
@adamdbradley |
Only running on a device android (Galaxy SIII mini Android 4.1.2 & ionic-bower#1.0.0-beta.9) I get hundred of errors like this in the logcat but the app continue running without problems. On iPhone Simulator or browser there are no errors.
logcat:
The code 'try' to remove css classes like 'ng-animate' on html elements without css classes, for this the property el.classList is undefined at the line 36479 of ionic.bundle.js.
Maybe the simplest solution could be wrapping with a if:
Thanks
Massimo
The text was updated successfully, but these errors were encountered: