Skip to content

Ripple does not respect Border Radius on buttons in 5.0.0-rc.6 #3387

@NathanC

Description

@NathanC

Current behaviour

In 5.0.0-rc.6, buttons are rounded by default. I don't like the rounded look personally, so tried to set the border radius to 0 (or low at least).

The button border radius changes (for example, for a contained button), but the ripple is still rounded, looking strange when pressed

This is the inverse of an old bug: #1342

Expected behaviour

The ripple on the button follows the borderRadius style

Reproduction

https://snack.expo.dev/A4FEbJrFh

Your Environment

software version
android 13
react-native 0.69.5
react-native-paper 5.0.0-rc.6
expo sdk 46.0.9

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions