0

I'm using the modal code available in Lightning Design System in a lightning web component that will be used in a tablet.

The problem is that the modal position is not fixed on the screen, that is, it does not follow the scroll of the page, and only in the mobile screen (in desktop works perfectly).

It was not rendering in the vertical middle of the screen as well, instead it was in the vertical center of the whole page, but I believe I've fixed that using height: 100vh in the slds-modal__container style class. It is only missing the modal scroll along with the screen.

Can someone help me with this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.