We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f66f6d commit b62c5b9Copy full SHA for b62c5b9
src/lib/core/overlay/disable-body-scroll.ts
@@ -62,8 +62,9 @@ export class DisableBodyScroll {
62
}
63
64
65
-export function DISABLE_BODY_SCROLL_PROVIDER_FACTORY(parentDispatcher: DisableBodyScroll) {
66
- return parentDispatcher || new DisableBodyScroll(new ViewportRuler());
+export function DISABLE_BODY_SCROLL_PROVIDER_FACTORY(parentDispatcher: DisableBodyScroll,
+ viewportRuler: ViewportRuler) {
67
+ return parentDispatcher || new DisableBodyScroll(viewportRuler);
68
};
69
70
export const DISABLE_BODY_SCROLL_PROVIDER = {
0 commit comments