HorizontalScroll should provide the ability to fade edges
- Dominant language
- Kotlin
- Stars
- 7.8k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
- [x] I have searched [existing issues](https://github.com/facebook/litho/issues) and this is not a duplicate
## Version
Litho 0.41.2
## Issues and Steps to Reproduce
The `HorizontalScroll` component doesn't have the ability to fade edges when the content overflows, which is a bit surprising considering that the `VerticalScroll` component already has it.
In my case, fading edges in `HorizontalScroll` would be useful to improve the appearance of a toolbar that has several buttons which cannot fit in the screen.
## Expected Behavior
I would expect the `HorizontalScroll` component to have the `horizontalFadingEdgeEnabled` and `fadingEdgeLength*` props to provide the same fading edge functionality that `VerticalScroll` has.
Contributor guide
Assessment
This issue has not been assessed yet.