Modal with scrollbar

i’m using a modal with text in it. this modal has a 500px height and the text can’t be seen completly. Could it be possible to add a scrollbar to see the entire content of this modal ?

Hi @Lyser,

Thanks for reaching out.
There are only two options available for the Overflow attribute i.e. visible and invisible, to add a scrollbar, you need to add the following custom CSS code into the ELement CSS of the Modal element.

$el.x-modal .x-modal-content
    overflow: scroll;

Hope it helps.

Perfect, thx you very much @tristup !

Hi @Lyser,

Glad that we are able to help you.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.