mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix(client): fix position calculation of nested context menu
This commit is contained in:
		
							parent
							
								
									dac4f68382
								
							
						
					
					
						commit
						f227091826
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -44,6 +44,10 @@ function onChildClosed(actioned?: boolean) {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
watch(() => props.targetElement, () => {
 | 
			
		||||
	setPosition();
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
onMounted(() => {
 | 
			
		||||
	setPosition();
 | 
			
		||||
	nextTick(() => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue