forked from CIT/Vmeda.Online
		
	MOBILE-3320 tabs: Try to fix tabs width after orientation change
This commit is contained in:
		
							parent
							
								
									dd2eb1fc97
								
							
						
					
					
						commit
						ac9e87727a
					
				@ -247,7 +247,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        await this.calculateMaxSlides();
 | 
					        await this.calculateMaxSlides();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.updateSlides();
 | 
					        await this.updateSlides();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
@ -624,7 +624,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
 | 
				
			|||||||
    protected windowResized(): void {
 | 
					    protected windowResized(): void {
 | 
				
			||||||
        setTimeout(() => {
 | 
					        setTimeout(() => {
 | 
				
			||||||
            this.calculateSlides();
 | 
					            this.calculateSlides();
 | 
				
			||||||
        });
 | 
					        }, 200);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user