Skip to content

Clip upsell card ripple to card shape - #190

Open
MAHAN-VS-MAHAN wants to merge 3 commits into
ProtonVPN:masterfrom
MAHAN-VS-MAHAN:fix-home-card-ripple-clipping
Open

Clip upsell card ripple to card shape#190
MAHAN-VS-MAHAN wants to merge 3 commits into
ProtonVPN:masterfrom
MAHAN-VS-MAHAN:fix-home-card-ripple-clipping

Conversation

@MAHAN-VS-MAHAN

Copy link
Copy Markdown

Fixes the pressed/ripple indication on the Home screen upsell carousel cards so it respects the same rounded shape as the card.

The clickable modifier was applied without clipping, which caused the pressed indication to render with sharp corners. This change clips the clickable area using the same medium shape as the card.

before:
before

after:
after

Tested:

  • Built with assembleProductionVanillaOpenSourceDebug
  • I Installed on the device
  • Verified the Home screen upsell carousel cards now show the pressed state within the rounded card shape

@MAHAN-VS-MAHAN
MAHAN-VS-MAHAN force-pushed the fix-home-card-ripple-clipping branch from fbc5047 to 268efa2 Compare August 3, 2026 18:38
@MAHAN-VS-MAHAN

Copy link
Copy Markdown
Author

Rebased onto current master (5.19.61.0).... The earlier conflicts came from a stale base not from this change... the diff is now a single commit touching only UpsellCarousel.kt. Clips the clickable area to ProtonTheme.shapes.medium, matching the card's own shape.... so the pressed-state ripple no longer renders with sharp corners.... Verified on device (screenshots above).... I've since changed machines and can't run detekt locally at the moment, but I'm happy to address anything CI or review flags....

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

Successfully merging this pull request may close these issues.

2 participants