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) {
|
if (minXElem !== null) {
|
||||||
minXElem.scrollIntoView({ inline: "start", behavior: "smooth" })
|
minXElem.scrollIntoView({ inline: "start" })
|
||||||
} else if (maxXElem !== null) {
|
} else if (maxXElem !== null) {
|
||||||
maxXElem.scrollIntoView({ inline: "end", behavior: "instant" })
|
maxXElem.scrollIntoView({ inline: "end" })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue