Merge pull request #2141 from marxjohnson/MOBILE-3191_integration
MOBILE-3191 UX: Don't fold away tab bar on short pages
This commit is contained in:
		
						commit
						c4bda7314e
					
				| @ -447,7 +447,7 @@ export class CoreTabsComponent implements OnInit, AfterViewInit, OnChanges, OnDe | ||||
|             this.calculateSlides(); | ||||
|         } | ||||
| 
 | ||||
|         if (this.tabsShown) { | ||||
|         if (this.tabsShown && scrollElement.scrollHeight > scrollElement.clientHeight + this.tabBarHeight) { | ||||
|             // Smooth translation.
 | ||||
|             this.topTabsElement.style.transform = 'translateY(-' + scroll + 'px)'; | ||||
|             this.originalTabsContainer.style.transform = 'translateY(-' + scroll + 'px)'; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user