Disable smooth navbar scrolling as it breaks on some platforms

This commit is contained in:
Tulir Asokan 2020-09-10 17:19:03 +03:00
parent e28540aba5
commit 32058373ff

View File

@ -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" })
}
}