You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contents of a pane in a vertically aligned splitter cannot take up 100% of the space because the splitter pane itself does not have an explicit size.
Expected behavior
Said splitter pane has explicit size so the contents can use height:100%
Minimal reproduction of the problem with instructions
In order to use the height property, you can add the style .k-pane { height: 100%; } to all panes. This way, using height: 100%; on pane contents will properly function, without the need for calculations in JS. See the updated plunker.
While this is a styling issue that can be resolved in many ways (flexbox and positioning, to name others), using height is very handy. We'll consider adding this rule to the component styles. I'll report back in this issue once we do.
I'm submitting a...
Current behavior
The contents of a pane in a vertically aligned splitter cannot take up 100% of the space because the splitter pane itself does not have an explicit size.
Expected behavior
Said splitter pane has explicit size so the contents can use height:100%
Minimal reproduction of the problem with instructions
https://plnkr.co/edit/LVrKRsT0XVd8mXNZaR5O
What is the motivation or use case for changing the behavior?
I use vertical splitters in many places.
Environment
Browser:
System:
Workaround (requires manual change detection, especially with ChangeDetectionStrategy.OnPush): https://plnkr.co/edit/dsJ0JlqePeIjXIX3zRzb
The text was updated successfully, but these errors were encountered: