mirror of
https://github.com/maunium/stickerpicker
synced 2024-12-21 06:30:43 +00:00
Disable smooth navbar scrolling as it breaks on some platforms
This commit is contained in:
parent
e28540aba5
commit
32058373ff
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue