-
Notifications
You must be signed in to change notification settings - Fork 657
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
Fix ripple extending past card on PaymentMethodRowButton #9757
base: master
Are you sure you want to change the base?
Conversation
Is there a way to write a screenshot test for this? Force it into the selected state? |
Diffuse output:
APK
|
Forcing selected state would just add the highlighted border/elevation. We'd need a way to trigger the click and capture the screenshot during the ripple |
The main issue was the selected state extending beyond, right? So we would have caught this issue? |
By selected state do you mean the ripple? That was extending past the card corners but the border/elevation were correct |
Summary
selectable
modifier toCard
clip(MaterialTheme.shapes.medium)
toCard
Motivation
Fix ripple extending past card on PaymentMethodRowButton
Testing
Before
Screen.Recording.2024-12-06.at.12.51.52.PM.mov
After
Screen.Recording.2024-12-06.at.12.50.29.PM.mov
Changelog