Skip to content
Snippets Groups Projects
Commit 937df577 authored by syuilo's avatar syuilo
Browse files

fix(client): Fix sticky sidebar behavior

parent e54fd6c2
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ export class StickySidebar {
if (this.isTop) {
this.isTop = false;
this.spacer.style.marginTop = `${scrollTop}px`;
this.spacer.style.marginTop = `${this.lastScrollTop}px`;
}
} else { // upscroll
const overflow = this.el.clientHeight - window.innerHeight;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment