+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean id + accumsan augue. Phasellus consequat augue vitae tellus tincidunt + posuere. Curabitur justo urna, consectetur vel elit iaculis, ultrices + condimentum risus. Nulla facilisi. Etiam venenatis molestie tellus. + Quisque consectetur non risus eu rutrum.{' '} +
++ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean id + accumsan augue. Phasellus consequat augue vitae tellus tincidunt + posuere. Curabitur justo urna, consectetur vel elit iaculis, ultrices + condimentum risus. Nulla facilisi. Etiam venenatis molestie tellus. + Quisque consectetur non risus eu rutrum.{' '} +
+ {args.hasScrollingContent && ( <>diff --git a/packages/styles/scss/components/modal/_modal.scss b/packages/styles/scss/components/modal/_modal.scss index 65bb53799dfd..bd79cccfd024 100644 --- a/packages/styles/scss/components/modal/_modal.scss +++ b/packages/styles/scss/components/modal/_modal.scss @@ -320,6 +320,11 @@ linear-gradient(to top, $layer 0, 2px, transparent 2px); } + //removing mask image in case we have dropdown in modal + .#{$prefix}--modal-scroll-content:has(.#{$prefix}--dropdown--autoalign) { + mask-image: none; + } + // Required so overflow-indicator disappears at end of content .#{$prefix}--modal-scroll-content > *:last-child { margin-block-end: $spacing-06;