mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-30 15:27:27 +03:00 
			
		
		
		
	Don't initial scroll if hash is empty
This commit is contained in:
		
							parent
							
								
									0f580eeed0
								
							
						
					
					
						commit
						4f79d4950a
					
				|  | @ -45,10 +45,10 @@ export class MenuService { | |||
|       if (!this.tasks.empty) { | ||||
|         this.tasks.start(this.activeCatIdx, this.activeMethodIdx); | ||||
|         this.scrollService.setStickElement(this.getCurrentMethodEl()); | ||||
|         this.scrollToActive(); | ||||
|         if (hash) this.scrollToActive(); | ||||
|         this.appState.stopLoading(); | ||||
|       } else { | ||||
|         this.scrollToActive(); | ||||
|         if (hash) this.scrollToActive(); | ||||
|       } | ||||
|     }); | ||||
|   } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user