Skip to content
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

Checkbox.Item: Make the underlying TouchableRipple more configurable #4590

Open
haykerman opened this issue Dec 31, 2024 · 1 comment
Open

Comments

@haykerman
Copy link

Is your feature request related to a problem? Please describe.
I've applied border radius to Checkbox.Item, and it seems to work as expected. However, when the item is pressedIn, the underlying touchable ripple doesn't respect the item's border radius.

Describe the solution you'd like
Expose an API to tweak the TouchableRipple through rippleStyle or containerStyle.

Describe alternatives you've considered
I've considered not using the Checkbox.Item and manually implementing the component with desired level of configuration. But it's a much bigger lift.

Additional context

@chartliex
Copy link

chartliex commented Jan 21, 2025

I have a similar problem, but on the Radio Button where I am unable to change the color of the ripple that is with Material Design (lilac)

I realized that there is no property of this.

React Native Paper: 5.13.1
React Native: 0.76.6
Expo: 52.0.26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants