mirror of
https://github.com/maunium/stickerpicker.git
synced 2024-11-10 05:37:22 +01:00
Disable smooth navbar scrolling as it breaks on some platforms
This commit is contained in:
parent
e28540aba5
commit
32058373ff
@ -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" })
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user