From: Eduardo San Martin Morote Date: Mon, 6 Apr 2020 09:09:55 +0000 (+0200) Subject: chore: update comment in docs X-Git-Tag: v4.0.0-alpha.5~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=757a7c98713ad6fc6b42d65f862307fe07498ba8;p=thirdparty%2Fvuejs%2Frouter.git chore: update comment in docs --- diff --git a/e2e/specs/scroll-behavior.js b/e2e/specs/scroll-behavior.js index f8f31f8f..167da492 100644 --- a/e2e/specs/scroll-behavior.js +++ b/e2e/specs/scroll-behavior.js @@ -4,9 +4,9 @@ module.exports = { ...bsStatus(), '@tags': ['history'], - // TODO: position is not saved when navigating back using browser buttons and - // therefore navigating forward does not restore position as it should - // '@disabled': true, + // NOTE: position is not saved when navigating back using browser buttons and + // therefore navigating forward does not restore position unless we use native + // browser behavior `window.scrollRestoration = 'auto'` 'scroll behavior': function(browser) { const TIMEOUT = 2000