We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4340633 commit 9a16ae4Copy full SHA for 9a16ae4
nativescript-angular/nativescript.module.ts
@@ -18,6 +18,11 @@ import {
18
SkipSelf,
19
} from "@angular/core";
20
21
+import {
22
+ ViewportScroller,
23
+ ɵNullViewportScroller as NullViewportScroller,
24
+} from "@angular/common";
25
+
26
import { NativeScriptCommonModule } from "./common";
27
import { NativeScriptRendererFactory } from "./renderer";
28
import { DetachedLoader } from "./common/detached-loader";
@@ -36,6 +41,7 @@ export function errorHandlerFactory() {
36
41
SystemJsNgModuleLoader,
37
42
{ provide: ErrorHandler, useFactory: errorHandlerFactory },
38
43
{ provide: RendererFactory2, useExisting: NativeScriptRendererFactory },
44
+ { provide: ViewportScroller, useClass: NullViewportScroller },
39
45
],
40
46
entryComponents: [
47
DetachedLoader,
0 commit comments