Skip to content

Commit 49b5807

Browse files
committed
add
1 parent 2553512 commit 49b5807

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

nativescript-angular/issue-1377/app/item/item-detail.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ActionBar title="Details" class="action-bar">
22
</ActionBar>
33

4-
<FlexboxLayout flexDirection="column" class="page">
4+
<FlexboxLayout flexDirection="column" class="page" backgroundColor="lightgray">
55
<FlexboxLayout class="m-15">
66
<Label class="h2" [text]="item.id + '. '"></Label>
77
<Label class="h2" [text]="item.name"></Label>

nativescript-angular/issue-1377/app/item/items.component.html

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
<StackLayout class="page">
77
<ListView [items]="items" class="list-group">
88
<ng-template let-item="item">
9-
<Label [nsRouterLink]="['/item', item.id]" pageTransition="slide" [text]="item.name"
10-
class="list-group-item"></Label>
9+
<StackLayout>
10+
<!-- With transition => Bug -->
11+
<Label [nsRouterLink]="['/item', item.id]" pageTransition="slide" [text]="item.name" class="list-group-item" backgroundColor="orangered"></Label>
12+
13+
<!-- Without transition => No bugs -->
14+
<Label [nsRouterLink]="['/item', item.id]" [text]="item.name" class="list-group-item" backgroundColor="green"></Label>
15+
</StackLayout>
1116
</ng-template>
1217
</ListView>
1318
</StackLayout>

nativescript-angular/issue-1377/hooks/after-watch/nativescript-dev-typescript.js

-1
This file was deleted.

nativescript-angular/issue-1377/hooks/before-livesync/nativescript-angular-sync.js

-1
This file was deleted.

nativescript-angular/issue-1377/hooks/before-prepare/nativescript-dev-typescript.js

-1
This file was deleted.

nativescript-angular/issue-1377/hooks/before-watch/nativescript-dev-typescript.js

-1
This file was deleted.

nativescript-angular/issue-1377/hooks/before-watchPatterns/nativescript-dev-typescript.js

-1
This file was deleted.

nativescript-angular/issue-1377/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"nativescript-theme-core": "~1.0.4",
2424
"reflect-metadata": "~0.1.8",
2525
"rxjs": "~6.1.0",
26-
"tns-core-modules": "~4.1.0",
26+
"tns-core-modules": "^4.2.0-2018-06-08-01",
2727
"zone.js": "^0.8.26"
2828
},
2929
"devDependencies": {

0 commit comments

Comments
 (0)