-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Cannot read property 'nativeElement' of undefined #8
Comments
@Inexad Can you be more specific when you are getting this error? I setup a project with your specified angular version and it is working fine. |
Hi, This i use in markup: In constructor i do:
In ngOnInit() i add sections and items to arrays. Then i use service.refresh() to update the timeline. For some reason it cannot find it's elementref. Regards. |
This is most likely due to that items & sections are empty array at constructor ? However, then this should still work, right ? |
@Inexad This specific case is also working fine for me. |
Algo got this but was the render executing before xhr request (set values), a simple ngIf isLoaded variable fix it |
Hi,
Thanks for quick update regarding section pop/push and more.
I've upgraded the package and now i get following error:
Can this be due to mismatch of Angular version ? I'm using 9.1.2.
Regards.
The text was updated successfully, but these errors were encountered: