From 2579d96bfa0ecfb11e22f62723ae665d9204bf3d Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 16 Mar 2018 23:54:16 +0100 Subject: [PATCH] Fixes - Scroll issue on navigating away --- src/core/element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/element.js b/src/core/element.js index 83fb2d2..2e8a454 100644 --- a/src/core/element.js +++ b/src/core/element.js @@ -109,7 +109,7 @@ export default class Element { try { this.node.scrollIntoView(this.options.scrollIntoViewOptions || { - behavior: 'smooth', + behavior: 'instant', block: 'center', }); } catch (e) {