narmi/design_system

[Dialog] Content should not have the `linear-gradient` applied when no scrollbar present

Closed this issue ยท 2 comments

Component/Module

Dialog

Screenshots (if applicable)

The fading in the "profile?" text below is not accessible

image

It goes away when removing the background-image rule

image

Reproduction Steps

Render a Dialog with limited text so a scrollbar is not present

Expected Result

The text does not fade when there is no scrollbar for the Dialog content

Actual Result

The text fades always

Additional Details / Context

The overflow styles should not be applied to a Dialog this short. Checking in banking to try to reproduce the issue

๐ŸŽ‰ This issue has been resolved in version 3.23.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€