#Modal content overflow problem

5 messages · Page 1 of 1 (latest)

carmine wharf
#

We have a problem with the Modal;

  • if the content is overflowing, you can scroll when first open it
  • changing the "tab" inside changes the content to not overflow
  • then changing the "tab" again back to the overflowing content, one can no longer scroll, and the content is just overflowing beneath

In the inspector I can see overflow-y: auto, then overflow: initial, then it doesn't go back to overflow-y: auto

This is the section element of the modal

delicate temple
#

You can change overflow styles on your side with Styles API on Modal component

carmine wharf
#

yes you are right, but this is most likely a bug?

#
  .content {
    overflow-y: auto !important;
  }
#

this is the fix, but I have to use !important because something keeps setting the overflow: initial in-line