Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] ScrollShadow component should display shadow in a proportional size #4384

Open
keul opened this issue Dec 17, 2024 · 1 comment

Comments

@keul
Copy link

keul commented Dec 17, 2024

Is your feature request related to a problem? Please describe.

Currently the ScrollShadow component behaves as a "all or none": if use reach the top/bottom (or left/right) of the scroll, the shadown of the intended size is displayed.

This is not very nice to see, as a 1px scroll makes the whole shadow to appear in

Describe the solution you'd like

https://lea.verou.me/blog/2012/04/background-attachment-local/

In the example above, the scroll shadow fade-in/out slowly, based on the scroll position.

Describe alternatives you've considered

https://lea.verou.me/blog/2012/04/background-attachment-local/

Screenshots or Videos

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant