aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/src/index.js4
1 files 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" })
}
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage