1
0
Fork 1
mirror of https://github.com/maunium/stickerpicker synced 2024-09-18 00:20:52 +00:00

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