master
			
			
		
		
							parent
							
								
									5d03c10257
								
							
						
					
					
						commit
						fe88355eca
					
				| 
						 | 
				
			
			@ -234,7 +234,7 @@
 | 
			
		|||
                    elementToRemove.classList.remove('show');
 | 
			
		||||
                    setTimeout(() => {
 | 
			
		||||
                        if(!elementToRemove.classList.contains('show')) elementToRemove.style.display = 'none';
 | 
			
		||||
                    }, 800);
 | 
			
		||||
                    }, 700);
 | 
			
		||||
                } else {
 | 
			
		||||
                    const fixedElementRect = elementToRemove.getBoundingClientRect();
 | 
			
		||||
                    const referenceElementRect = targetElement.getBoundingClientRect();
 | 
			
		||||
| 
						 | 
				
			
			@ -248,7 +248,7 @@
 | 
			
		|||
                        elementToRemove.classList.remove('show');
 | 
			
		||||
                        setTimeout(() => {
 | 
			
		||||
                            if(!elementToRemove.classList.contains('show')) elementToRemove.style.display = 'none';
 | 
			
		||||
                        }, 800);
 | 
			
		||||
                        }, 700);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                // Stop observing once it's removed (optional)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue