-
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
bug: Cannot read property 'ev' of null #10186
Comments
In
Moving the logic to |
I encountered this problem in a modal view. I had the same problems with ionViewDidLoad getting navParams. Putting it inro ionViewWillEnter solved the problem but the scroll is still messed up. I moved it to constructor and worked perfectly. Please submit this as a bug report. Thanks |
A fix for this will be in the next release. Can you please try out the following nightly and let me know if you find any issues:
Thanks! |
Brandy's fix worked for me. |
thanks, i had a similar problem trying to use this.content.scrollToBottom(), so i checked the line where says the error log, it was leading to content.js core file, i was getting the error because this._scroll was null, so i checked it first before using on my component
its working for now, but i am not sure if this is a good work around. Hope that helps someone. |
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. |
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I upgraded a project from RC4 to 2.0.0. When running the project, I get shown the following error:
Note that if this error is dismissed, the application continues to function as normal.
Expected behavior:
Error to be fixed.
Other information:
As discussed with @manucorporat:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: