Skip to main content
Question

Scroll overflow in modal

  • April 26, 2024
  • 1 reply
  • 432 views

Hi. I have made a simple modal component and I want it to be able to contain content that’s vertically bigger than itself — that is: I want it to contain a scrollbar if the content is vertically bigger than the modal. I set “clip content” on the component, but I’m not sure how to make use of it in the instance of the component where I imagine to then add an instance of another component (form fields cascading vertically) inside the modal instance.

Any pointers on how to get this right are appreciated 🙏

Thanks in advance!

This topic has been closed for replies.

Figured it out! Made the component into a modal header instead, then added a frame underneath and added the content instances inside that frame and changed that frame’s scroll settings to vertical and it worked.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings