Modal Scroll Options
The scrollable area can be adjusted by using the scroll prop. The default is set to container.
Important Notes:The overall prop makes the overall viewport area scrollable.The container prop makes the modal container itself scrollable.The scroll prop only applies to viewports equal to or above the small breakpoint (~600px).
Demo
Twig
{% include '@bolt-components-modal/modal.twig' with {
content: 'This is a modal set to overall scrolling.',
scroll: 'overall',
attributes: {
class: 'js-bolt-modal--scroll-overall',
},
} only %}