Browse Source

Disable smooth navbar scrolling as it breaks on some platforms

pull/26/head
Tulir Asokan 4 years ago
parent
commit
32058373ff
  1. 4
      web/src/index.js

4
web/src/index.js

@ -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…
Cancel
Save