fix(client): Fix sticky sidebar behavior
This commit is contained in:
		
							parent
							
								
									e54fd6c2cb
								
							
						
					
					
						commit
						937df577f1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue