Skip to content

fix: Clip ripple effect for default Button style in materialDesign:PopupBox#3983

Merged
Keboo merged 2 commits intoMaterialDesignInXAML:masterfrom
corvinsz:fix3982
Dec 19, 2025
Merged

fix: Clip ripple effect for default Button style in materialDesign:PopupBox#3983
Keboo merged 2 commits intoMaterialDesignInXAML:masterfrom
corvinsz:fix3982

Conversation

@corvinsz
Copy link
Copy Markdown
Member

fixes #3982

Use the BorderClipConverter to clip the ripple to the Buttons (MaterialDesignPopupBoxButton) bounds.
The current behavior can be seen in the linked issue.
New behavior:

popupRipplePost.mp4

…opupBox`

Use the BorderClipConverter to clip the ripple to the bounds of the button
Set ClipToBounds="True" instead of using the `BorderClipConverter` in the Button ControlTemplate to prevent child elements from rendering outside the template boundaries.
@Keboo Keboo merged commit febcef3 into MaterialDesignInXAML:master Dec 19, 2025
2 checks passed
@Keboo Keboo added this to the 5.3.1 milestone Dec 19, 2025
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.

Ripple effect of button clipping out of bounds

2 participants