kamrify commited on
Commit
2579d96
·
1 Parent(s): a43a05e

Fixes - Scroll issue on navigating away

Browse files
Files changed (1) hide show
  1. src/core/element.js +1 -1
src/core/element.js CHANGED
@@ -109,7 +109,7 @@ export default class Element {
109
 
110
  try {
111
  this.node.scrollIntoView(this.options.scrollIntoViewOptions || {
112
- behavior: 'smooth',
113
  block: 'center',
114
  });
115
  } catch (e) {
 
109
 
110
  try {
111
  this.node.scrollIntoView(this.options.scrollIntoViewOptions || {
112
+ behavior: 'instant',
113
  block: 'center',
114
  });
115
  } catch (e) {