I have a cool animation that runs but it gets clip...
# compose
c
I have a cool animation that runs but it gets clipped. I couldn't figure out why, but I did trace it down to this modifier I added
Copy code
.blur(Dp(bottomSheetProgress * 4))
even if I make it
Copy code
.blur(Dp(0F))
it will still clip. Is there anyway to opt out of this behavior?
s
Blur impl is here. Seems like if you specify a different
edgeTreatment
which is not a shape it will not clip it.
Try
BlurredEdgeTreatment.Unbounded
maybe?
👍 1
Copy code
.blur(Dp(0F), edgeTreatment = BlurredEdgeTreatment.Unbounded)
c
Oooh. will give that a shot. Makes sense that that would fix it though. THANK YOU
👍 1
confirming it worked. thank you!
🦜 1