From 32058373ff6398fe8b53bc4f4acb577b4fa159e1 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 10 Sep 2020 17:19:03 +0300 Subject: [PATCH] Disable smooth navbar scrolling as it breaks on some platforms --- web/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/index.js b/web/src/index.js index 585d854..cd165dd 100644 --- a/web/src/index.js +++ b/web/src/index.js @@ -153,9 +153,9 @@ class App extends Component { } } if (minXElem !== null) { - minXElem.scrollIntoView({ inline: "start", behavior: "smooth" }) + minXElem.scrollIntoView({ inline: "start" }) } else if (maxXElem !== null) { - maxXElem.scrollIntoView({ inline: "end", behavior: "instant" }) + maxXElem.scrollIntoView({ inline: "end" }) } }