-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
tabItems are showed in the wrong order when using *ngIf (angular) #4393
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
Comments
@Abderrahmane-H by design in Angular you can not have multiple directives athat are going to create template for your component (in the current context - the tabItem) So if you have
You will receive an error of this sort:
Please send us code snippet or sample project demonstrating exactly how you are reproducing the issue. |
yes I am aware of that, I am using ng-template. here is a code sample
|
This issue was moved to NativeScript/nativescript-angular#850 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Please, provide the details below:
Did you verify this is a real problem by searching [Stack Overflow]
yes
Tell us about the problem
tabItems are showed in the wrong order when using *ngIf .
Which platform(s) does your issue occur on?
android, (have not tested on ios yet).
Please provide the following version numbers that your issue occurs with:
nativescript │ 3.0.1 │ 3.0.3 │ Update available │
│ tns-core-modules │ 3.0.1 │ 3.0.1 │ Up to date │
│ tns-android │ 3.0.1 │ 3.0.1 │ Up to date │
│ tns-ios │ │ 3.0.1 │ Not installed
Please tell us how to recreate the issue in as much detail as possible.
-create an app with tabs
-add an *ngif to a tab to be hidden and shown conditionaly.
The text was updated successfully, but these errors were encountered: