webrix
webrix copied to clipboard
Scrollbar Shadow should be positioned by default
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.