- How do I make modal content scrollable?
- How to make Bootstrap modal body scrollable?
- How do you create a modal in LWC?
How do I make modal content scrollable?
Use the . modal-dialog-scrollable class to enable scrolling inside the modal.
How to make Bootstrap modal body scrollable?
Bootstrap 4.3 added new built-in scroll feature to modals. This makes only the modal-body content scroll if the size of the content would otherwise make the page scroll. To use it, just add the class modal-dialog-scrollable to the same div that has the modal-dialog class.
How do you create a modal in LWC?
Instead, you create a modal by extending LightningModal and using the helper lightning-modal-* components to provide a header, footer and the body of the modal. The component has access to the normal LWC resources as well as the special container, helper components, methods, and events of the lightning/modal module.