The gutter height, which is subtracted from each section's height, is always initially calculated as being 0 due to a duplicate declaration of the gutterSize variable here which causes the calculation result to stay in the conditional block scope. This causes an issue where the total heights of sections exceeds 100% of the container height. You can see this happening in the screenshots below where the overall splitter container exceeds the height of it's parent, causing content in the last section to be obscured from view.
The gutter height, which is subtracted from each section's height, is always initially calculated as being 0 due to a duplicate declaration of the
gutterSize
variable here which causes the calculation result to stay in the conditional block scope. This causes an issue where the total heights of sections exceeds 100% of the container height. You can see this happening in the screenshots below where the overall splitter container exceeds the height of it's parent, causing content in the last section to be obscured from view.