Skip to content

Commit a4677e4

Browse files
authored
Merge pull request #150 from kmmccafferty96/master
fix(bottomsheet): support Angular Ivy compiler
2 parents 67086ca + 57cfeff commit a4677e4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@commitlint/config-conventional": "^8.3.4",
5757
"@nativescript/angular":"8.21.0",
5858
"@nativescript/core":"6.5.1",
59+
"@types/node": "14.0.4",
5960
"husky": "^4.2.3",
6061
"lerna": "^3.20.2",
6162
"nativescript-vue": "2.5.1",

src/bottomsheet/angular/bottomsheet.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class BottomSheetService {
121121
const detachedLoaderFactory = factoryResolver.resolveComponentFactory(DetachedLoader);
122122
const childInjector = this.createChildInjector(bottomSheetParams, viewContainerRef);
123123

124-
return viewContainerRef.createComponent(detachedLoaderFactory, -1, childInjector, null);
124+
return viewContainerRef.createComponent(detachedLoaderFactory, 0, childInjector, null);
125125
}
126126

127127
private async loadComponent(type: Type<any>): Promise<ViewWithBottomSheetBase> {

0 commit comments

Comments
 (0)