Commit 716cff62 authored by Phil Hughes's avatar Phil Hughes

Fixed bug where window would sometimes scroll to the top

parent b9db79e9
......@@ -98,7 +98,7 @@ export const handleLocationHash = () => {
let adjustment = 0;
if (fixedNav) adjustment -= fixedNav.offsetHeight;
if (target && target.scrollIntoView) {
if (target && target.scrollIntoView && !target.classList.contains('is-virtual-scrolling')) {
target.scrollIntoView(true);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment