mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	mitigations for tooltip flickering
This commit is contained in:
		
							parent
							
								
									92ffe321aa
								
							
						
					
					
						commit
						dbc93f4a79
					
				@ -44,7 +44,7 @@ function setupTooltip() {
 | 
				
			|||||||
                container: 'body',
 | 
					                container: 'body',
 | 
				
			||||||
                placement: 'auto',
 | 
					                placement: 'auto',
 | 
				
			||||||
                trigger: 'manual',
 | 
					                trigger: 'manual',
 | 
				
			||||||
                boundariesElement: 'window',
 | 
					                boundary: 'window',
 | 
				
			||||||
                title: html,
 | 
					                title: html,
 | 
				
			||||||
                html: true
 | 
					                html: true
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
 | 
				
			|||||||
@ -545,6 +545,11 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
 | 
				
			|||||||
    overflow-y: auto;
 | 
					    overflow-y: auto;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* this should help with tooltip flickering */
 | 
				
			||||||
 | 
					.tooltip {
 | 
				
			||||||
 | 
					    pointer-events: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.tooltip-inner {
 | 
					.tooltip-inner {
 | 
				
			||||||
    background-color: #fbfbfb !important;
 | 
					    background-color: #fbfbfb !important;
 | 
				
			||||||
    max-width: 400px;
 | 
					    max-width: 400px;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user