How to add scrollbar to the repeating dynamic layout in a section

hi team,

There is a long chain of email which has to be shown and need to put a scroller so that the full conversation can be traversed by the customer. The email trail is in a repeating dynamic layout.

Have tried below steps but there is no luck

Specified the max height as 1000 px in presentation tab of RDL, gave - overflow-x:scroll in the CSS but no luck. PFA for references

Kindly suggest!

Thanks

@ritikap3 Please add custom css class in style sheet and refer in the layout. Please try to change the different display option.

.CustomeScroll {
display: inline-flex;
overflow-x: auto;
}

Hi @Nadimuthu T,

I tried the way you suggested but it doesn’t work still. PFA for reference

Also, the class which is created in css file - .CustomControl. I cannot find it by clicking on helper classes. Am i missing some configuration for it. Kindly suggest

Thanks,

CSS file change.png

@ritikap3 I am able to achieve it without custom css also. Please see the screen shot. Please verify any other css over ride in the application

Hi @Nadimuthu T,

The scrollbar I am able to achieve by setting the max height and giving overflow-y-auto setting, previously it didn’t work but now its coming. Thanks!

@ritikap3 can you please post the screenshots of your code changes? Would be helpful for others.