-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
ActionBar Title not displaying [Android] #725
Comments
Hey, @triniwiz! We confirmed that the ActionBar title fails to render sometimes. Can you share your case so we make sure we'll cover it, too? |
@sis0k0 nice i thought it was just me not sure how much my info would help but the app currently has about 25 pages each updating their titles using ngx-translate and icons the thing is the icons show fine. Another thing i noticed is the way <ActionBar title="Home">
<NavigationButton icon="res://ic_arrow_back_white_24dp" (tap)="routerExtensions.back()"></NavigationButton>
<ActionItem *ngIf="isIOS" (tap)="routerExtensions.back()" ios.position="left" icon="res://ic_chevron_left_white_36pt"></ActionItem>
<ActionItem *ngIf="isAndroid" (tap)="share()">
<Button text="" class="material-icons action-bar-item"></Button>
</ActionItem>
<ActionItem *ngIf="isIOS" (tap)="share()" ios.systemIcon="9" ios.position="right"></ActionItem>
</ActionBar> now nothing shows so i had to use a directive |
anchors for the elements added by structural directive (*ngIf, *ngFor, etc.) closes #725
anchors for the elements added by structural directive (*ngIf, *ngFor, etc.) closes #725
\#comment nodes should be added as views to 'actionBar' since they are anchors for the elements added by structural directive (*ngIf, *ngFor, etc.) closes #725
#comment nodes should be added as views to 'actionBar' since they are anchors for the elements added by structural directive (*ngIf, *ngFor, etc.) closes #725 # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Wed Mar 29 17:49:06 2017 +0300 # # On branch svlaeva/fix-action-bar # Your branch is up-to-date with 'origin/svlaeva/fix-action-bar'. # # Changes to be committed: # modified: nativescript-angular/directives/action-bar.ts # # Untracked files: # nativescript-angular/yarn.lock # ng-sample/yarn.lock # # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Wed Mar 29 17:49:06 2017 +0300 # # On branch svlaeva/fix-action-bar # Your branch and 'origin/svlaeva/fix-action-bar' have diverged, # and have 1 and 1 different commits each, respectively. # (use "git pull" to merge the remote branch into yours) # # Changes to be committed: # modified: nativescript-angular/directives/action-bar.ts # # Untracked files: # nativescript-angular/yarn.lock # ng-sample/yarn.lock #
#comment nodes should be added as views to 'actionBar' since they are anchors for the elements added by structural directive (*ngIf, *ngFor, etc.) closes #725
#comment nodes should be added as views to 'actionBar' since they are anchors for the elements added by structural directive (*ngIf, *ngFor, etc.) closes #725
Fixed with 1.5.1 patch. |
#comment nodes should be added as views to 'actionBar' since they are anchors for the elements added by structural directive (*ngIf, *ngFor, etc.) closes #725
After upgrading to v 1.5.0 the action bar title does not show on android everything works fine on iOS
The text was updated successfully, but these errors were encountered: