hi Sushil,
you can use the css code to achieve this
.classname{
height:50vh;
overflow-y:scroll;
}
place the class name in your custom widget
hope it helps!!
Hi Sushil,
You could set a css class on the html element you return from your render, and add maxHeight and overflow to your css class
let myDiv = document.createElement('DIV');
myDiv.className = 'myCssClass';
render() {
return ({myDiv});
}
.myCssClass {
max-height: 500px;
overflow: scroll;
}