From 58ab766edf8501507ecfe3ea9385323d9824fe0c Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Fri, 15 Jun 2018 16:37:19 +0300 Subject: [PATCH] Removed router animations since they are causing problems on Edge and also they make Fuse feel slower --- src/@fuse/services/config.service.ts | 3 --- .../main/documentation/services/config/config.component.html | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/@fuse/services/config.service.ts b/src/@fuse/services/config.service.ts index 1bf481ef..9b73c1d9 100644 --- a/src/@fuse/services/config.service.ts +++ b/src/@fuse/services/config.service.ts @@ -101,9 +101,6 @@ export class FuseConfigService // Clone the default config const config = _.cloneDeep(this._defaultConfig); - // Don't reset the router animation - config.routerAnimation = this._configSubject.getValue().routerAnimation; - // Set the config this._configSubject.next(config); } diff --git a/src/app/main/documentation/services/config/config.component.html b/src/app/main/documentation/services/config/config.component.html index 0cf9153b..ed9f752d 100644 --- a/src/app/main/documentation/services/config/config.component.html +++ b/src/app/main/documentation/services/config/config.component.html @@ -59,8 +59,7 @@ background: 'mat-fuse-dark-900-bg' } }, - customScrollbars: true, - routerAnimation : 'none' + customScrollbars: true }); }