I am trying to place an Editor inside of a pane in a Splitter. The only problem is that the Editor goes past the end of the Splitter when I set the height to 100%, creating overflow in the pane, which I have hidden.
The workaround that I have found is putting the editor to have a height of calc(100% - 0px), but I feel as though this should not be necessary. Have I missed something here?
Here is the Tag Helpers with the editor height at 100% which produces the overflow.
<
kendo-splitter
name
=
"cp-homepage-splitter"
orientation
=
"SplitterOrientation.Vertical"
style
=
"height:100%;"
>
<
pane
size
=
"115px"
collapsible
=
"false"
resizable
=
"false"
scrollable
=
"false"
id
=
"cp-homepage-top-pane"
>
<
p
class
=
"iv-title iv-title-2"
>Home page</
p
>
<
p
class
=
"alert"
>Set the content for the first page shown.</
p
>
</
pane
>
<
pane
collapsible
=
"false"
resizable
=
"false"
id
=
"cp-homepage-bottom-pane"
style
=
"height:100%;overflow-y:hidden;"
>
<
kendo-editor
name
=
"HomepageEditor"
aria-label
=
"editor"
style
=
"height:calc(100% - 0px);"
>
<
resizable
enabled
=
"false"
/>
<
tools
>
<
tool
name
=
"bold"
/>
<
tool
name
=
"italic"
/>
<
tool
name
=
"underline"
/>
<
tool
name
=
"strikethrough"
/>
<
tool
name
=
"fontName"
/>
<
tool
name
=
"fontSize"
/>
<
tool
name
=
"foreColor"
/>
<
tool
name
=
"backColor"
/>
<
tool
name
=
"copyFormat"
/>
<
tool
name
=
"applyFormat"
/>
<
tool
name
=
"justifyLeft"
/>
<
tool
name
=
"justifyCenter"
/>
<
tool
name
=
"justifyRight"
/>
<
tool
name
=
"justifyFull"
/>
<
tool
name
=
"insertUnorderedList"
/>
<
tool
name
=
"insertOrderedList"
/>
<
tool
name
=
"outdent"
/>
<
tool
name
=
"indent"
/>
<
tool
name
=
"createLink"
/>
<
tool
name
=
"unlink"
/>
<
tool
name
=
"subScript"
/>
<
tool
name
=
"superScript"
/>
<
tool
name
=
"tableEditing"
/>
<
tool
name
=
"viewHtml"
/>
<
tool
name
=
"formatting"
/>
<
tool
name
=
"cleanFormatting"
/>
<
tool
name
=
"homePageSaveTool"
template-id
=
"homePageSaveToolTemplate"
/>
</
tools
>
<
content
>
<
h1
>Test</
h1
>
</
content
>
</
kendo-editor
>
</
pane
>
</
kendo-splitter
>
<
script
id
=
"homePageSaveToolTemplate"
type
=
"text/x-kendo-template"
>
<
button
id
=
"saveHomePageBtn"
class
=
"k-button k-primary"
>Save</
button
>
</
script
>