mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	fix displaying options / book on firefox, closes #4165
This commit is contained in:
		
							parent
							
								
									6c54c7d17d
								
							
						
					
					
						commit
						bb0137b2fd
					
				| @ -37,7 +37,9 @@ export default class NoteListWidget extends NoteContextAwareWidget { | |||||||
|             threshold: 0.1 |             threshold: 0.1 | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|         observer.observe(this.$widget[0]); |         // there seems to be a race condition on Firefox which triggers the observer only before the widget is visible
 | ||||||
|  |         // (intersection is false). https://github.com/zadam/trilium/issues/4165
 | ||||||
|  |         setTimeout(() => observer.observe(this.$widget[0]), 10); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     checkRenderStatus() { |     checkRenderStatus() { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam