Hi,
I am using a Kendo React Window in the following way:
import React, {useContext, useEffect, useState} from 'react'
import { Window } from '@progress/kendo-react-dialogs';
const IncidentSummary = (props) => {
const TitleComponent = (props) => {
return <div style={{
fontSize: "large",
fontWeight: "bold",
marginLeft: "2vw",
}}>
{props.title}
</div>;
};
const close = () =>{
return <div></div>
}
return (
<div>
<Window className='is-window' title={<TitleComponent title={"Summary"}/>} initialLeft={70} initialHeight={"28vh"} initialWidth={"90vw"} initialTop={430} style={{boxShadow:'3px 3px 11px 0 #b6b7b9', border:"2px double black", backgroundColor:"rgb(252,252,252)"}} closeButton={close} draggable={false}>
<span>Content</span>
</Window>
</div>
)
}
export default IncidentSummary
With following styling:
.is-window .k-window-titlebar { background: black; border: 1.5px solid black; color: white; width:auto; padding-bottom: 0.2% !important; padding-top: 0.2% !important; height: 3.5vh !important; }
I observe that following things are working fine in my local, but are causing problems after build and deployment:
1. The Scrollbar doesn't appear even when the content inside the window has more height than the window max-height after build and deployment
2. The Title Summary is not coming up to be vertically center aligned even though it is aligned properly in local.
What could be the reason for these issues and how could I resolve them?