mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 11:40:49 +00:00
fix(client): Fix sticky sidebar behavior
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user