diff --git a/src/app/components/root/root.component.ts b/src/app/components/root/root.component.ts index becc2362..b7e3f1e4 100644 --- a/src/app/components/root/root.component.ts +++ b/src/app/components/root/root.component.ts @@ -44,7 +44,7 @@ import { Observable } from 'rxjs/Observable'; const SHOULD_AUTO_LOAD_DEMO = false; const IS_DEV_BUILD = !environment.production; -const ELEMENT_RESIZE_DETECTOR = erd(); +const ELEMENT_RESIZE_DETECTOR = erd({ strategy: 'scroll' }); const STORAGE_KEY_FIRST_TIME_USER = 'storage_key_first_time_user'; declare const ga: Function;