I’ve added a modal to my Webflow project, but I’m having trouble making the content inside scrollable. Right now, some of the content gets cut off, and no vertical scrollbar appears.
Here’s my current structure:
filter-view: This is the full modal wrapper.
filter-container: This holds the scrollable content.
Div Block 20: This is a footer element inside the modal that should stay fixed or visible at the bottom - it shouldn’t scroll with the content.
I’ve tried setting overflow: auto on filter-container and limiting the height, but it’s still not working.
On the filter-container, if that’s the immediate parent of your scrollable content, you can add a scrollbar there using the overflow-y: scroll style. You can add that as a custom style, you’ll see that section at the bottom of the styles panel for that element.
I use the same technique for scrollbars on SA5’s modals, and you can do some styling of the scrollbar as well.
Thanks for the tips! I tried to add this per the guide on the website. However, it still doesn’t work properly. The content in the footer of the modal doesn’t show at all, and it’s not possible to scroll at all in the modal. I can see some signs of a scroll bar though: