How can I make it able to scroll in a container?

How can I make my List scroll when it's elements increase? I just want it scroll in its container, and I don't want the container's size changes


Hi Tenchi,

You should set a max width and/or max heigth of the container with css. Additionally, you should use the CSS overflow property to make the container scrollable.


.ScrollableContainer {
   max-width: 300px;
   max-height: 300px;
   overflow: auto;

More info on overflow:



Oh! Thank you. I did it using "overflow: scroll;"