react-native-material-ripple
react-native-material-ripple copied to clipboard
Base component for touchable elements
I have a custom component that have to buttons using Ripple, a button act like a container and another to only icon. Both the container and icon have distincts press...
This is my component:  I try to simulate on press while testing using react testing library and this is the error I get:  Please let me know how...
Hi, I have tried to replace TouchableWithoutFeedback with Ripple. But the inside Touchable component will not response to touch event when it wrapped with Ripple. Here is demo: ``` {/*...
The button works well in test environment, but doesn't for the apple development team when submitted for review Versions: "react": "16.13.1", "react-native": "0.63.4", "react-native-material-ripple": "^0.9.1",
Great library! An issue that I have is that when the Ripple button is pressed, the ripple effect starts for a fraction of a second before the onPress function is...
Here is my code. {this.state.ImageViewVisible == false ? Upload your custom {'\n'}icon this._pickImage()} style={styles.Btn}> Upload Icon : {image && } this.onRemoveImg()} rippleOpacity={0} style={styles.ImgClose}> console.log('tapped icon')} style={styles.Btn}> Set Icon } Help...
Fixing the ripple start position for newer versions of `react-native-web` that doesn't appear to have the `locationX` and `locationY` props in the `nativeEvent`. Instead, it has the `layerX` and `layerY`...
Hello @n4kz, I have no idea how to do this animation but maybe we can find a way :) Here is the soft ripple animation: https://www.instagram.com/p/CBxl4KEgHm6/
rippleBorder allows the user to control whether the ripple effect should stop at the border of the parent container.