Skip to content

Scrollbar Shadow should be positioned by default #111

@yairEO

Description

@yairEO

Currently, Shadow.jsx does not come with CSS that has position

<Scrollable.Shadow>
    <Scrollable>
        ...
    </Scrollable>
</Scrollable.Shadow>

And so, whoever is using the Scrollable Shadow must position it themselves (in their app):

.scroll-shadow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

And it begs the question why does the above CSS not come out-of-the-box inside the <Shadow> component SCSS file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions