Skip to content
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

Steps is not compatible with Angular 16 - #879

Open
timothyBrake opened this issue May 30, 2023 · 2 comments
Open

Steps is not compatible with Angular 16 - #879

timothyBrake opened this issue May 30, 2023 · 2 comments

Comments

@timothyBrake
Copy link

Version

8.0.0

Environment

All environments

Reproduction link

https://stackblitz.com/edit/angular-5remi8?file=package.json

Steps to reproduce

Open the test project https://stackblitz.com/edit/angular-5remi8?file=package.json and got o console to see the error.

What is expected?

The Steps component to be visible without any errors

What is actually happening?

Component is not shown and error in console log:
Error: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with EnvironmentInjector#runInContext. Find more at https://angular.io/errors/NG0203

Other?

This test project is created using the https://ng.mobile.ant.design/#/components/steps/en and then Open in Stackblitz with the Angular versions set to Angular 16. Noting else is changed so it works using Angular 15 but does not when using Angular 16

@jirigalis
Copy link
Contributor

The ng-zorro-mobile simply does not support Angular 16. See this link, you should use ver 15.

@timothyBrake
Copy link
Author

The ng-zorro-mobile simply does not support Angular 16. See this link, you should use ver 15.

Sometimes an update in Angular version isn't breaking ng-zorro-mobile components. This time it does break the Steps component but not other ng-zorro-mobile components. Hence this ticket and a cry for someone at ng-zorro-mobile team to pick this up and make sure ng-zorro-mobile is ready for Angular 16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants