From 6af907a203eed3d34f22a8867ba34c0d83efbe6b Mon Sep 17 00:00:00 2001 From: snewcomer Date: Wed, 24 Jul 2019 15:24:25 -0700 Subject: [PATCH] Allow configure so consuming app can override --- addon/services/router-scroll.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addon/services/router-scroll.js b/addon/services/router-scroll.js index 918b11fb..7880cbb3 100644 --- a/addon/services/router-scroll.js +++ b/addon/services/router-scroll.js @@ -93,6 +93,7 @@ const RouterScroll = Service.extend({ }); Object.defineProperty(RouterScroll.prototype, 'position', { + configurable: true, get() { const scrollMap = get(this, 'scrollMap'); const stateUuid = get(window, 'history.state.uuid');