From f09fb735a7d9355522a3e13e972fadc02ddd0e27 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 30 Jan 2020 19:17:11 +0300 Subject: [PATCH] Update splitTab.component.ts --- terminus-core/src/components/splitTab.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminus-core/src/components/splitTab.component.ts b/terminus-core/src/components/splitTab.component.ts index 2c83977f..26f05fe0 100644 --- a/terminus-core/src/components/splitTab.component.ts +++ b/terminus-core/src/components/splitTab.component.ts @@ -564,6 +564,10 @@ export class SplitTabComponent extends BaseTabComponent implements OnInit, OnDes } } } + while (root.ratios.length < root.children.length) { + root.ratios.push(1) + } + root.normalize() } }