If I have a scrollable row of cards with elevation...
# compose
c
If I have a scrollable row of cards with elevation, and I overscroll I get clipping of the elevation/shadow. Is there a way to prevent that? Bug or intended?
k
Have you tried adding padding to a card, or to a cards parent?
c
Nope. I can't add padding as the design is as expected right now (there a component under it that has its own padding). I guess I could try to work it out with removing padding from one and adding to this, but I guess my issue is more with the fact that compose isn't supposed to clip by default.
k
I had the same issue with cards. Unfortunately I can't remember did I solved an issue, or removed card and added elevation and rounded corner to a different element to avoid shadow cut-off.
a
c
In my case, its just a scrollable Row, not a horizontalPager.
d
We have a similar issue with a LazyRow